yh-i18n 2.3.6 → 2.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +9 -11
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -281,17 +281,15 @@ function createLocalMessage (list) {
281
281
  }
282
282
 
283
283
  export function addI18nPage (router) {
284
- if (window.translateReady) {
285
- router.addRoute("Index", {
286
- path: "translate",
287
- name: "翻译管理",
288
- meta: {
289
- icon: "md-notifications",
290
- title: "翻译管理",
291
- },
292
- component: () => import("yh-i18n/list.vue"),
293
- });
294
- }
284
+ router.addRoute("Index", {
285
+ path: "translate",
286
+ name: "翻译管理",
287
+ meta: {
288
+ icon: "md-notifications",
289
+ title: "翻译管理",
290
+ },
291
+ component: () => import("yh-i18n/list.vue"),
292
+ });
295
293
  }
296
294
 
297
295
  export function cLog (string, isError = false) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yh-i18n",
3
- "version": "2.3.6",
3
+ "version": "2.3.7",
4
4
  "description": "对于国际化的封装",
5
5
  "main": "index.js",
6
6
  "scripts": {