lrf 1 년 전
부모
커밋
01d70efb51
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/locales/en_us/errors.ts
  2. 1 1
      src/locales/zh_cn/errors.ts

+ 1 - 1
src/locales/en_us/errors.ts

@@ -23,7 +23,7 @@ const codes = {
   '401-7': 'Users in the current role are unable to use',
   '401-7': 'Users in the current role are unable to use',
 };
 };
 const errCodes = {};
 const errCodes = {};
-const prefix = 'SERVICEERROR_';
+const prefix = 'FRAMEERROR_';
 for (const key in codes) {
 for (const key in codes) {
   errCodes[`${prefix}${key}`] = codes[key];
   errCodes[`${prefix}${key}`] = codes[key];
 }
 }

+ 1 - 1
src/locales/zh_cn/errors.ts

@@ -23,7 +23,7 @@ const codes = {
   '401-7': '当前角色下的用户无法使用',
   '401-7': '当前角色下的用户无法使用',
 };
 };
 const errCodes = {};
 const errCodes = {};
-const prefix = 'SERVICEERROR_';
+const prefix = 'FRAMEERROR_';
 for (const key in codes) {
 for (const key in codes) {
   errCodes[`${prefix}${key}`] = codes[key];
   errCodes[`${prefix}${key}`] = codes[key];
 }
 }