fix: 🧩 树状结构支持多选

This commit is contained in:
2025-06-06 14:05:40 +08:00
parent f2ee833412
commit 6f8a3e72a5
25 changed files with 96 additions and 85 deletions

View File

@@ -12,8 +12,8 @@
:init-param="dataStore.initParam"
>
<template #status="scope">
<el-tag :type="scope.row.status === 1 ? 'success' : 'danger'" effect="dark">{{
scope.row.status === 1 ? "启用" : "禁用"
<el-tag :type="scope.row.status == 1 ? 'success' : 'danger'" effect="dark">{{
scope.row.status == 1 ? "启用" : "禁用"
}}</el-tag>
</template>
<template #operation="scope">
@@ -22,7 +22,7 @@
size="small"
type="danger"
@click="handleBtnClick('删除', scope.row)"
v-if="scope.row.delete_disable === 0"
v-if="scope.row.delete_disable == 0"
>删除</el-button
>
</template>