权限模块功能基本改写完成

This commit is contained in:
2026-01-22 22:28:40 +08:00
parent 72a6a6a709
commit 0c2ebc8501
13 changed files with 2124 additions and 1313 deletions

View File

@@ -1,9 +1,9 @@
import { upload } from "@/api/system";
import systemApi from "@/api/system";
//上传配置
export default {
apiObj: upload, //上传请求API对象
apiObj: systemApi.upload.post, //上传请求API对象
filename: "file", //form请求时文件的key
successCode: 1, //请求完成代码
maxSize: 10, //最大文件大小 默认10MB
@@ -15,6 +15,6 @@ export default {
msg: res.message //分析描述字段结构
}
},
apiObjFile: upload, //附件上传请求API对象
apiObjFile: systemApi.upload.post, //附件上传请求API对象
maxSizeFile: 10 //最大文件大小 默认10MB
}