refactor: ♻️ 修改CURD导入权限点标识名

This commit is contained in:
cshaptx4869
2024-04-27 20:31:24 +08:00
parent 1e0dee0a6e
commit afea9a08b9
2 changed files with 3 additions and 3 deletions

View File

@@ -72,10 +72,10 @@ const contentConfig: IContentConfig = {
"delete", "delete",
"export", "export",
{ {
name: "upload", name: "import",
icon: "upload", icon: "upload",
text: "导入", text: "导入",
auth: "upload", auth: "import",
}, },
], ],
cols: [ cols: [

View File

@@ -97,7 +97,7 @@ function handleEditClick(row: IObject) {
// 其他工具栏 // 其他工具栏
function handleToolbarClick(name: string) { function handleToolbarClick(name: string) {
console.log(name); console.log(name);
if (name === "upload") { if (name === "import") {
ElMessage.success("点击了导入按钮"); ElMessage.success("点击了导入按钮");
} }
} }