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

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

No files matched your search

+2 -2
View File
@@ -72,10 +72,10 @@ const contentConfig: IContentConfig = {
"delete",
"export",
{
name: "upload",
name: "import",
icon: "upload",
text: "导入",
auth: "upload",
auth: "import",
},
],
cols: [
+1 -1
View File
@@ -97,7 +97,7 @@ function handleEditClick(row: IObject) {
// 其他工具栏
function handleToolbarClick(name: string) {
console.log(name);
if (name === "upload") {
if (name === "import") {
ElMessage.success("点击了导入按钮");
}
}