refactor: ♻️ 修改CURD导入权限点标识名
This commit is contained in:
@@ -72,10 +72,10 @@ const contentConfig: IContentConfig = {
|
||||
"delete",
|
||||
"export",
|
||||
{
|
||||
name: "upload",
|
||||
name: "import",
|
||||
icon: "upload",
|
||||
text: "导入",
|
||||
auth: "upload",
|
||||
auth: "import",
|
||||
},
|
||||
],
|
||||
cols: [
|
||||
|
||||
@@ -97,7 +97,7 @@ function handleEditClick(row: IObject) {
|
||||
// 其他工具栏
|
||||
function handleToolbarClick(name: string) {
|
||||
console.log(name);
|
||||
if (name === "upload") {
|
||||
if (name === "import") {
|
||||
ElMessage.success("点击了导入按钮");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user