forked from zhurui/management
1 line
4.0 KiB
JSON
1 line
4.0 KiB
JSON
|
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\i18n\\index.js","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\i18n\\index.js","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.object.keys\";\nimport _defineProperty from \"C:\\\\Users\\\\27446\\\\Desktop\\\\up\\\\front\\\\dkha-web-sz-main\\\\node_modules\\\\@babel\\\\runtime-corejs2/helpers/esm/defineProperty\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nimport Vue from 'vue';\nimport VueI18n from 'vue-i18n';\nimport Cookies from 'js-cookie';\nimport zhCNLocale from 'element-ui/lib/locale/lang/zh-CN';\nimport zhTWLocale from 'element-ui/lib/locale/lang/zh-TW';\nimport enLocale from 'element-ui/lib/locale/lang/en';\nimport zhCN from \"./zh-CN\";\nimport zhTW from \"./zh-TW\";\nimport enUS from \"./en-US\";\nVue.use(VueI18n);\nexport var messages = {\n 'zh-CN': _objectSpread({\n '_lang': '简体中文'\n }, zhCN, {}, zhCNLocale),\n 'zh-TW': _objectSpread({\n '_lang': '繁體中文'\n }, zhTW, {}, zhTWLocale),\n 'en-US': _objectSpread({\n '_lang': 'English'\n }, enUS, {}, enLocale)\n};\nexport default new VueI18n({\n locale: Cookies.get('language') || 'zh-CN',\n messages: messages\n});",{"version":3,"sources":["C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\i18n\\index.js"],"names":["Vue","VueI18n","Cookies","zhCNLocale","zhTWLocale","enLocale","zhCN","zhTW","enUS","use","messages","locale","get"],"mappings":";;;;;;;;;AAAA,OAAOA,GAAP,MAAgB,KAAhB;AACA,OAAOC,OAAP,MAAoB,UAApB;AACA,OAAOC,OAAP,MAAoB,WAApB;AACA,OAAOC,UAAP,MAAuB,kCAAvB;AACA,OAAOC,UAAP,MAAuB,kCAAvB;AACA,OAAOC,QAAP,MAAqB,+BAArB;AACA,OAAOC,IAAP;AACA,OAAOC,IAAP;AACA,OAAOC,IAAP;AAEAR,GAAG,CAACS,GAAJ,CAAQR,OAAR;AAEA,OAAO,IAAMS,QAAQ,GAAG;AACtB;AACE,aAAS;AADX,KAEKJ,IAFL,MAGKH,UAHL,CADsB;AAMtB;AACE,aAAS;AADX,KAEKI,IAFL,MAGKH,UAHL,CANsB;AAWtB;AACE,aAAS;AADX,KAEKI,IAFL,MAGKH,QAHL;AAXsB,CAAjB;AAkBP,eAAe,IAAIJ,OAAJ,CAAY;AACzBU,EAAAA,MAAM,EAAET,OAAO,CAACU,GAAR,CAAY,UAAZ,KAA2B,OADV;AAEzBF,EAAAA,QAAQ,EAARA;AAFyB,CAAZ,CAAf","sourcesContent":["import Vue from 'vue'\nimport VueI18n from 'vue-i18n'\nimport Cookies from 'js-cookie'\nimport zhCNLocale from 'element-ui/lib/locale/lang/zh-CN'\nimport zhTWLocale from 'element-ui/lib/locale/lang/zh-TW'\nimport enLocale from 'element-ui/lib/locale/lang/en'\nimport zhCN from './zh-CN'\nimport zhTW from './zh-TW'\nimport enUS from './en-US'\n\nVue.use(VueI18n)\n\nexport const messages = {\n 'zh-CN': {\n '_lang': '简体中文',\n ...zhCN,\n ...zhCNLocale\n },\n 'zh-TW': {\n '_lang': '繁體中文',\n ...zhTW,\n ...zhTWLocale\n },\n 'en-US': {\n '_lang': 'English',\n ...enUS,\n ...enLocale\n }\n}\n\nexport default new VueI18n({\n locale: Cookies
|