mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-16 08:38:48 +00:00
优化
This commit is contained in:
parent
fcdfcd531c
commit
94d2119422
@ -59,11 +59,12 @@
|
|||||||
<!-- 行新增 -->
|
<!-- 行新增 -->
|
||||||
<template #slot-add="{ scope }">
|
<template #slot-add="{ scope }">
|
||||||
<el-button
|
<el-button
|
||||||
v-if="scope.row.type != 2"
|
|
||||||
type="success"
|
type="success"
|
||||||
text
|
text
|
||||||
bg
|
bg
|
||||||
v-permission="service.base.sys.user.permission.add"
|
v-permission="{
|
||||||
|
and: [service.base.sys.user.permission.add, scope.row.type != 2]
|
||||||
|
}"
|
||||||
@click="append(scope.row)"
|
@click="append(scope.row)"
|
||||||
>新增</el-button
|
>新增</el-button
|
||||||
>
|
>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user