fix: 我的角色-报错页面空白

This commit is contained in:
guoyue 2022-09-22 13:37:18 +08:00
parent b1f17ca5bb
commit 85b515acf8
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
<el-button @click="getDataList()">{{ $t('query') }}</el-button>
</el-form-item>
<el-form-item>
<el-button v-if="$hasPermispsion('sys:role:save')" type="primary" @click="addOrUpdateHandle()">{{ $t('add') }}</el-button>
<el-button v-if="$hasPermission('sys:role:save')" type="primary" @click="addOrUpdateHandle()">{{ $t('add') }}</el-button>
</el-form-item>
<el-form-item>
<el-button v-if="$hasPermission('sys:role:delete')" type="danger" @click="deleteHandle()">{{ $t('deleteBatch') }}</el-button>