src/index.js
@@ -280,6 +280,17 @@ } } GLOB.dict = {} if (localStorage.getItem(_href + 'js_trans')) { let js_trans = JSON.parse(localStorage.getItem(_href + 'js_trans')) js_trans.forEach(item => { if (lang !== item.lang) return GLOB.dict[item.key] = item.val }) } GLOB.mkActions = {} // 按钮权限集 Object.defineProperty(GLOB, 'appId', {