feat: 查询命令分组.

This commit is contained in:
lijiahangmax
2024-01-25 00:04:24 +08:00
parent 6e62cabcdf
commit 3011ecee9e
7 changed files with 149 additions and 32 deletions

View File

@@ -74,10 +74,10 @@
</template>
</a-tree>
<!-- 无数据 -->
<div v-else-if="!loading" class="empty-container">
<span>暂无数据</span>
<a-empty v-else-if="!loading" class="empty-container">
<span>暂无数据</span><br>
<span v-if="editable">点击上方 '<icon-plus />' 添加一个分组吧~</span>
</div>
</a-empty>
</a-scrollbar>
</template>
@@ -214,8 +214,8 @@
// 保存节点
const saveNode = async (node: TreeNodeData) => {
const key = node.key
const newTitle = node.title
const key = node.key;
const newTitle = node.title;
node.modCount = (node.modCount || 0) + 1;
if (node.modCount != 1) {
return;