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

1 line
4.5 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\\views\\modules\\home.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\home.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//\n//\n//\n\n\timport admin from './home-components/admin.vue'\n\timport homeDormitory from './home-components/home_dormitory'\n\timport homeBuilding from './home-components/home_building'\n\timport { mapGetters } from 'vuex'\n import screenfull from \"screenfull\";\n\texport default {\n\t\tcomponents: {\n\t\t\t/*admin,homeDormitory ,homeBuilding*/\n\t\t},\n\t\tcomputed:{\n ...mapGetters(['isFullScreen'])\n },\n\t\tdata() {\n\t\t\treturn {}\n\t\t},\n\t\tactivated(){\n if(this.isFullScreen){\n screenfull.toggle(this.$refs[\"home\"])\n }\n },\n\t\tmounted(){\n\t\t\tscreenfull.on('change',()=>{\n\t\t\t\tthis.$store.commit(\"SET_FULL_SCREEN\",!!screenfull.element)\n\t\t\t}) \n\t\t},\n\t\tmethods:{\n\t\t\t//返回首页\n fullScreen(){\n //// 如果不允许进入全屏,发出不允许提示\n if (!screenfull.enabled) {\n return this.$message({\n message: this.$t(\"fullscreen.prompt\"),\n type: \"warning\",\n duration: 500\n });\n }\n this.$store.commit( \"SET_FULL_SCREEN\", !this.$store.state.user.isFullScreen );\n screenfull.toggle(this.$refs[\"home\"]);\n }\n\t\t}\n\t}\n",{"version":3,"sources":["home.vue"],"names":[],"mappings":";;;;;;;;;;AAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"home.vue","sourceRoot":"src/views/modules","sourcesContent":["<template>\n\t<div class=\"home\" ref=\"home\">\n\t\t<img class=\"full\" src=\"../../assets/img/shouye/full.png\" alt=\"\" :title=\"isFullScreen?'退出':'全屏'\" @click=\"fullScreen\">\n\t\t<admin v-if=\"$hasPermission('sys:home:root')\"></admin>\n\t\t<home-dormitory v-else-if=\"$hasPermission('sys:home:dormitory')\"></home-dormitory>\n <home-building v-else-if=\"$hasPermission('sys:home:building')\"></home-building>\n\t</div>\n</template>\n\n<script>\n\timport admin from './home-components/admin.vue'\n\timport homeDormitory from './home-components/home_dormitory'\n\timport homeBuilding from './home-components/home_building'\n\timport { mapGetters } from 'vuex'\n import screenfull from \"screenfull\";\n\texport default {\n\t\tcomponents: {\n\t\t\t/*admin,homeDormitory ,homeBuilding*/\n\t\t},\n\t\tcomputed:{\n ...mapGetters(['isFullScreen'])\n },\n\t\tdata() {\n\t\t\treturn {}\n\t\t},\n\t\tactivated(){\n if(this.isFullScreen){\n screenfull.toggle(this.$refs[\"home\"])\n }\n },\n\t\tmounted(){\n\t\t\tscreenfull.on('change',()=>{\n\t\t\t\tthis.$store.commit(\"SET_FULL_SCREEN\",!!screenfull.element)\n\t\t\t}) \n\t\t},\n\t\tmethods:{\n\t\t\t//返回首页\n fullScreen(){\n //// 如果不允许进入全屏,发出不允许提示\n if (!screenfull.enabled) {\n return this.$message({\n message: this.$t(\"ful