修改标签绑定按钮判断

This commit is contained in:
zhouxain01 2023-12-22 18:26:50 +08:00
parent 1a7fac7cb9
commit 5adcc35655
1 changed files with 3 additions and 2 deletions

View File

@ -224,8 +224,9 @@
<!-- status 未绑定0 已绑定1 已解绑2 -->
<!-- isBind 不展示解绑0 展示解绑1 -->
<el-button
v-if="scope.row.isBind == 1"
:disabled="scope.row.status == 0"
:disabled="
!(scope.row.status === '1' && scope.row.isBind === '1')
"
size="mini"
type="text"
icon="el-icon-delete"