Commit 29ea5400 authored by 杨硕's avatar 杨硕

修改商家列表编辑删除按钮的显示逻辑

parent c5582996
......@@ -122,12 +122,14 @@
@click="handleDetail(scope.row)"
>详情</el-button>
<el-button
v-if="scope.row.status === 0"
v-hasPermi="['sys:dict:edit']"
size="mini"
type="text"
@click="handleUpdate(scope.row)"
>编辑</el-button>
<el-button
v-if="scope.row.status === 0"
v-hasPermi="['sys:dict:remove']"
size="mini"
type="text"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment