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