{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\lang\\LangSelect.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\lang\\LangSelect.vue","mtime":1675071992178},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nexport default {\n name: 'lang-select',\n computed: {\n language: function language() {\n return localStorage.getItem('lang') || 'zh-CN';\n }\n },\n methods: {\n handleSetLanguage: function handleSetLanguage(lang) {\n this.$i18n.locale = lang;\n this.$validator.locale = lang; // 日期控件格式化\n\n if ('zh-CN' == lang) {// moment.locale('zh-cn');\n } else {// moment.locale('en');\n }\n\n localStorage.setItem('lang', lang);\n this.$message({\n message: 'success',\n type: 'success'\n });\n }\n },\n filters: {\n langValue: function langValue(val) {\n var resultVal = val;\n\n if ('zh-CN' == val) {\n resultVal = '简体中文';\n }\n\n if ('zh-TW' == val) {\n resultVal = '繁體中文';\n }\n\n if ('en-US' == val) {\n resultVal = 'English';\n }\n\n return resultVal;\n }\n }\n};",null]}