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',
 };
 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];
 }