Skip to content

Commit

Permalink
Merge pull request #128 from suyuan32/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
suyuan32 committed Nov 7, 2023
2 parents ebaa1a4 + a8cffbe commit 7a77264
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-admin",
"version": "1.2.0",
"version": "1.2.2",
"homepage": "https://github.com/suyuan32/simple-admin-backend-ui",
"bugs": {
"url": "https://github.com/suyuan32/simple-admin-backend-ui/issues"
Expand Down
10 changes: 8 additions & 2 deletions src/api/fms/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,14 @@ export function uploadApi(
* @description: Get file list
*/

export const getFileList = (params: BaseListReq) => {
return defHttp.post<BaseDataResp<FileListResp>>({ url: Api.GetFileList, params });
export const getFileList = (params: BaseListReq, mode: ErrorMessageMode = 'notice') => {
return defHttp.post<BaseDataResp<FileListResp>>(
{ url: Api.GetFileList, params },
{
errorMessageMode: mode,
successMessageMode: 'none',
},
);
};

/**
Expand Down
10 changes: 5 additions & 5 deletions src/locales/lang/zh-CN/sys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,21 +165,21 @@ export default {
},
apis: {
// noun
apiList: 'API列表',
apiList: '接口列表',
path: '路径',
description: '描述',
method: '方法',
group: '分组',
// action
addApi: '添加API',
editApi: '编辑API',
addApi: '添加接口',
editApi: '编辑接口',
// help message
isRequiredHelpMessage: '是否为必要API,如果是必要API,则在权限管理时为必选,不允许取消',
isRequiredHelpMessage: '是否为必要接口,如果是必要接口,则在权限管理时为必选,不允许取消',
},
authority: {
authorityManagement: '权限管理',
menuAuthority: '菜单',
apiAuthority: 'API',
apiAuthority: '接口',
},
user: {
// noun
Expand Down
2 changes: 1 addition & 1 deletion src/views/dashboard/workbench/components/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ export const navItems: NavItem[] = [

export const systemInfoData = [
['sys.sys.Name', 'Simple Admin'],
['sys.sys.version', 'V 1.2.0'],
['sys.sys.version', 'V 1.2.2'],
];

0 comments on commit 7a77264

Please sign in to comment.