Files
education/frontend/node_modules/.cache/babel-loader/fbcdc6ba7821c2fa65e059c82a008ea6.json
T

1 line
5.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"remainingRequest":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\Admin\\Desktop\\education\\frontend\\src\\layout\\components\\AppMain.vue?vue&type=script&lang=js","dependencies":[{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\src\\layout\\components\\AppMain.vue","mtime":1787567871535},{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1787309791955},{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\babel-loader\\lib\\index.js","mtime":1787309793142},{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1787309791955},{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\vue-loader\\lib\\index.js","mtime":1787309793790},{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\babel.config.js","mtime":1787567871334},{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1787309791955},{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\babel-loader\\lib\\index.js","mtime":1787309793142},{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1787309791955},{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\vue-loader\\lib\\index.js","mtime":1787309793790}],"contextDependencies":[],"result":[{"type":"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ZyYW1lKCk7CiAgICB9CiAgfSwKICBtb3VudGVkOiBmdW5jdGlvbiBtb3VudGVkKCkgewogICAgdGhpcy5hZGRJZnJhbWUoKTsKICB9LAogIG1ldGhvZHM6IHsKICAgIGFkZElmcmFtZTogZnVuY3Rpb24gYWRkSWZyYW1lKCkgewogICAgICB2YXIgbmFtZSA9IHRoaXMuJHJvdXRlLm5hbWU7CiAgICAgIGlmIChuYW1lICYmIHRoaXMuJHJvdXRlLm1ldGEubGluaykgewogICAgICAgIHRoaXMuJHN0b3JlLmRpc3BhdGNoKCd0YWdzVmlldy9hZGRJZnJhbWVWaWV3JywgdGhpcy4kcm91dGUpOwogICAgICB9CiAgICB9CiAgfQp9Ow=="},{"version":3,"names":["_index","_interopRequireDefault","require","name","components","iframeToggle","computed","cachedViews","$store","state","tagsView","key","$route","path","watch","addIframe","mounted","methods","meta","link","dispatch"],"sources":["src/layout/components/AppMain.vue"],"sourcesContent":["<template>\r\n <section class=\"app-main\">\r\n <transition name=\"fade-transform\" mode=\"out-in\">\r\n <keep-alive :include=\"cachedViews\">\r\n <router-view v-if=\"!$route.meta.link\" :key=\"key\" />\r\n </keep-alive>\r\n </transition>\r\n <iframe-toggle />\r\n </section>\r\n</template>\r\n\r\n<script>\r\nimport iframeToggle from \"./IframeToggle/index\"\r\n\r\nexport default {\r\n name: 'AppMain',\r\n components: { iframeToggle },\r\n computed: {\r\n cachedViews() {\r\n return this.$store.state.tagsView.cachedViews\r\n },\r\n key() {\r\n return this.$route.path\r\n }\r\n },\r\n watch: {\r\n $route() {\r\n this.addIframe()\r\n }\r\n },\r\n mounted() {\r\n this.addIframe()\r\n },\r\n methods: {\r\n addIframe() {\r\n const { name } = this.$route\r\n if (name && this.$route.meta.link) {\r\n this.$store.dispatch('tagsView/addIframeView', this.$route)\r\n }\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.app-main {\r\n /* 顶部 Header 已移出主容器,主内容在 flex 列中占满剩余空间 */\r\n flex: 1;\r\n min-height: 0;\r\n width: 100%;\r\n position: relative;\r\n overflow-y: auto;\r\n scrollbar-gutter: stable;\r\n background-color: #fff;\r\n\r\n &:fullscreen,\r\n &:-webkit-full-screen,\r\n &:-moz-full-screen,\r\n &:-ms-fullscreen {\r\n background: #fff;\r\n overflow-y: auto;\r\n }\r\n}\r\n\r\n.hasTagsView {\r\n .app-main {\r\n /* tags-view 高度 34px,AppMain 在 flex 列中由父容器约束高度 */\r\n min-height: 0;\r\n }\r\n}\r\n</style>\r\n\r\n<style lang=\"scss\">\r\n::-webkit-scrollbar {\r\n width: 6px;\r\n height: 6px;\r\n}\r\n\r\n::-webkit-scrollbar-track {\r\n background-color: #f1f1f1;\r\n}\r\n\r\n::-webkit-scrollbar-thumb {\r\n background-color: #c0c0c0;\r\n border-radius: 3px;\r\n}\r\n</style>"],"mappings":";;;;;;;;;AAYA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;;;;;;;;;;;;iCAEA;EACAC,IAAA;EACAC,UAAA;IAAAC,YAAA,EAAAA;EAAA;EACAC,QAAA;IACAC,WAAA,WAAAA,YAAA;MACA,YAAAC,MAAA,CAAAC,KAAA,CAAAC,QAAA,CAAAH,WAAA;IACA;IACAI,GAAA,WAAAA,IAAA;MACA,YAAAC,MAAA,CAAAC,IAAA;IACA;EACA;EACAC,KAAA;IACAF,MAAA,WAAAA,OAAA;MACA,KAAAG,SAAA;IACA;EACA;EACAC,OAAA,WAAAA,QAAA;IACA,KAAAD,SAAA;EACA;EACAE,OAAA;IACAF,SAAA,WAAAA,UAAA;MACA,IAAAZ,IAAA,QAAAS,MAAA,CAAAT,IAAA;MACA,IAAAA,IAAA,SAAAS,MAAA,CAAAM,IAAA,CAAAC,IAAA;QACA,KAAAX,MAAA,CAAAY,QAAA,gCAAAR,MAAA;MACA;IACA;EACA;AACA","ignoreList":[]}]}