This commit is contained in:
icssoa 2022-08-02 17:06:50 +08:00
parent fcdfcd531c
commit 94d2119422

View File

@ -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
> >