fix: 🧩 树状结构支持多选
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user