权限模块功能基本改写完成
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user