lrf 1 year ago
parent
commit
01d70efb51
2 changed files with 2 additions and 2 deletions
  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',
 };
 const errCodes = {};
-const prefix = 'SERVICEERROR_';
+const prefix = 'FRAMEERROR_';
 for (const key in codes) {
   errCodes[`${prefix}${key}`] = codes[key];
 }

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

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