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",
"export",
{
name: "upload",
name: "import",
icon: "upload",
text: "导入",
auth: "upload",
auth: "import",
},
],
cols: [

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("点击了导入按钮");
}
}