[代码优化](v2.6):fix bug

close https://github.com/elunez/eladmin/issues/504
This commit is contained in:
zhengjie
2020-12-12 21:04:41 +08:00
parent bd65391f4d
commit 1526db3d46
17 changed files with 43 additions and 39 deletions

View File

@@ -47,7 +47,7 @@
<span>{{ parseTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
<el-table-column v-permission="['admin','serverDeploy:edit','serverDeploy:del']" label="操作" width="150px" align="center">
<el-table-column v-if="checkPer['admin','serverDeploy:edit','serverDeploy:del']" label="操作" width="150px" align="center">
<template slot-scope="scope">
<udOperation
:data="scope.row"