1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/.cache/vue-loader/e65052b726a3be612ca963073f1...

1 line
2.3 KiB
JSON
Raw Normal View History

2023-12-18 13:12:25 +08:00
{"remainingRequest":"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":["//\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 () {\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",{"version":3,"sources":["App.vue"],"names":[],"mappings":";;;;;;;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"App.vue","sourceRoot":"src","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"]}]}