refactor(system): 优化系统模块接口命名和参数校验
- 重构了多个控制器的查询接口,统一命名规范 - 新增参数校验,提高接口健壮性 - 更新了前端 API调用,以适应后端接口变更 - 优化了部分前端组件的错误提示文案
This commit is contained in:
@@ -148,7 +148,7 @@ export default {
|
||||
isLt2M = file.size / 1024 / 1024 < 100
|
||||
if (!isLt2M) {
|
||||
this.loading = false
|
||||
this.$message.error('上传文件大小不能超过 100MB!')
|
||||
this.$message.error('上传文件大小不能超过 100MB')
|
||||
}
|
||||
this.form.name = file.name
|
||||
return isLt2M
|
||||
|
||||
Reference in New Issue
Block a user