1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/.cache/babel-loader/4d45278d4cf7bc6adca58a2b08b...

1 line
3.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\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\App.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\App.vue","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},{"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\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.function.name\";\n//\n//\n//\n//\n//\n//\nimport Cookies from 'js-cookie';\nimport { messages } from '@/i18n';\nexport default {\n watch: {\n '$i18n.locale': 'i18nHandle'\n },\n created: function created() {\n this.i18nHandle(this.$i18n.locale);\n },\n methods: {\n i18nHandle: function i18nHandle(val, oldVal) {\n Cookies.set('language', val);\n document.querySelector('html').setAttribute('lang', val);\n document.title = messages[val].brand.lg; // 非登录页面,切换语言刷新页面\n\n if (this.$route.name !== 'login' && oldVal) {\n window.location.reload();\n }\n }\n }\n};",{"version":3,"sources":["App.vue"],"names":[],"mappings":";;;;;;;AAOA,OAAA,OAAA,MAAA,WAAA;AACA,SAAA,QAAA,QAAA,QAAA;AACA,eAAA;AACA,EAAA,KAAA,EAAA;AACA,oBAAA;AADA,GADA;AAIA,EAAA,OAJA,qBAIA;AACA,SAAA,UAAA,CAAA,KAAA,KAAA,CAAA,MAAA;AACA,GANA;AAOA,EAAA,OAAA,EAAA;AACA,IAAA,UADA,sBACA,GADA,EACA,MADA,EACA;AACA,MAAA,OAAA,CAAA,GAAA,CAAA,UAAA,EAAA,GAAA;AACA,MAAA,QAAA,CAAA,aAAA,CAAA,MAAA,EAAA,YAAA,CAAA,MAAA,EAAA,GAAA;AACA,MAAA,QAAA,CAAA,KAAA,GAAA,QAAA,CAAA,GAAA,CAAA,CAAA,KAAA,CAAA,EAAA,CAHA,CAIA;;AACA,UAAA,KAAA,MAAA,CAAA,IAAA,KAAA,OAAA,IAAA,MAAA,EAAA;AACA,QAAA,MAAA,CAAA,QAAA,CAAA,MAAA;AACA;AACA;AATA;AAPA,CAAA","sourcesContent":["<template>\n <transition name=\"el-fade-in-linear\">\n <router-view />\n </transition>\n</template>\n\n<script>\nimport Cookies from 'js-cookie'\nimport { messages } from '@/i18n'\nexport default {\n watch: {\n '$i18n.locale': 'i18nHandle'\n },\n created () {\n this.i18nHandle(this.$i18n.locale)\n },\n methods: {\n i18nHandle (val, oldVal) {\n Cookies.set('language', val)\n document.querySelector('html').setAttribute('lang', val)\n document.title = messages[val].brand.lg\n // 非登录页面,切换语言刷新页面\n if (this.$route.name !== 'login' && oldVal) {\n window.location.reload()\n }\n }\n }\n}\n</script>\n"],"sourceRoot":"src"}]}