fix: 只保留用户页面和角色页面,编辑与删除的 disabled 禁用方法

This commit is contained in:
@changcode
2021-06-16 17:17:18 +08:00
parent fc83cd91d4
commit 8530af2b80
14 changed files with 15 additions and 17 deletions

View File

@@ -93,7 +93,7 @@
<button type="button" class="nz-btn nz-btn-size-mini-new nz-btn-style-light-new" @click="cancel(scope.row)" :disabled="prevent_opt.save"><span>{{$t('overall.cancel')}}</span></button>
</template>
<template v-else>
<button class="table-operation-item" @click="$emit('del',scope.row)" v-has="'system_apiKey_delete'" :disabled="isBuiltIn(scope.row)"><i class="nz-icon nz-icon-delete"></i></button>
<button class="table-operation-item" @click="$emit('del',scope.row)" v-has="'system_apiKey_delete'"><i class="nz-icon nz-icon-delete"></i></button>
</template>
</div>
</el-table-column>