1 line
2.5 KiB
JSON
1 line
2.5 KiB
JSON
{"remainingRequest":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\phpstudy_pro\\WWW\\travel\\admin\\src\\layout\\components\\AppMain.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\src\\layout\\components\\AppMain.vue","mtime":1718941225073},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1718764957200},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\babel-loader\\lib\\index.js","mtime":1718764959024},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1718764957200},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\vue-loader\\lib\\index.js","mtime":1718764959862}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KDQpleHBvcnQgZGVmYXVsdCB7DQogIG5hbWU6ICdBcHBNYWluJywNCiAgY29tcHV0ZWQ6IHsNCiAgICBjYWNoZWRWaWV3cygpIHsNCiAgICAgIHJldHVybiB0aGlzLiRzdG9yZS5zdGF0ZS50YWdzVmlldy5jYWNoZWRWaWV3cw0KICAgIH0sDQogICAga2V5KCkgew0KICAgICAgcmV0dXJuIHRoaXMuJHJvdXRlLnBhdGgNCiAgICB9DQogIH0NCn0NCg=="},{"version":3,"sources":["AppMain.vue"],"names":[],"mappings":";;;;;;;;;;;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"AppMain.vue","sourceRoot":"src/layout/components","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 :key=\"key\" />\r\n </keep-alive>\r\n </transition>\r\n </section>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: 'AppMain',\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}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.app-main {\r\n /* 50= navbar 50 */\r\n min-height: calc(100vh - 50px);\r\n width: 100%;\r\n position: relative;\r\n overflow: hidden;\r\n}\r\n\r\n.fixed-header+.app-main {\r\n padding-top: 50px;\r\n}\r\n\r\n.hasTagsView {\r\n .app-main {\r\n /* 84 = navbar + tags-view = 50 + 34 */\r\n min-height: calc(100vh - 84px);\r\n }\r\n\r\n .fixed-header+.app-main {\r\n padding-top: 84px;\r\n }\r\n}\r\n</style>\r\n\r\n<style lang=\"scss\">\r\n// fix css style bug in open el-dialog\r\n.el-popup-parent--hidden {\r\n .fixed-header {\r\n padding-right: 15px;\r\n }\r\n}\r\n</style>\r\n"]}]} |