Commit 5616bb9a authored by 张伯涛's avatar 张伯涛

bug修改

parent 47322a78
import {Plus, Delete, Edit, Search, Share, Upload } from '@element-plus/icons-vue'
/** 公共字段*/
export const commonField = {
typeParent: 'text',
typeParent: 'primary', // typeParent: 'text', type="text" 已在3.00移除,用了typeParent这个字段的需要在按钮用link设置链接按钮
typePrimary: 'primary',
typeSuccess: 'success',
typeWarning: 'warning',
......
......@@ -288,6 +288,7 @@ onMounted(() => {
v-hasPermi="hasUpdateMenuPerm"
:class="commonField.updateClass"
:type="commonField.typeParent"
link
:size="commonField.size"
@click="openDialog(scope.row.parentId, scope.row.businessId)"
>{{ commonField.updateName }}</el-button>
......@@ -310,6 +311,7 @@ onMounted(() => {
v-hasPermi="hasDelMenuPerm"
:class="commonField.delClass"
:type="commonField.typeParent"
link
:size="commonField.size"
@click="handleDelete(scope.row.businessId)"
>{{ commonField.deleteName }}</el-button>
......@@ -320,6 +322,7 @@ onMounted(() => {
v-hasPermi="hasAddMenuPerm"
:class="commonField.delClass"
:type="commonField.typeParent"
link
:size="commonField.size"
@click="openDialog(scope.row.businessId)"
>{{ commonField.addName }}</el-button>
......
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