{"remainingRequest":"D:\\源码\\vue-element-admin-master\\node_modules\\babel-loader\\lib\\index.js!D:\\源码\\vue-element-admin-master\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\源码\\vue-element-admin-master\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\源码\\vue-element-admin-master\\src\\layout\\components\\AppMain.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\源码\\vue-element-admin-master\\src\\layout\\components\\AppMain.vue","mtime":1649647926000},{"path":"D:\\源码\\vue-element-admin-master\\babel.config.js","mtime":1649647926000},{"path":"D:\\源码\\vue-element-admin-master\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\源码\\vue-element-admin-master\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\源码\\vue-element-admin-master\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\源码\\vue-element-admin-master\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KZXhwb3J0IGRlZmF1bHQgewogIG5hbWU6ICdBcHBNYWluJywKICBjb21wdXRlZDogewogICAgY2FjaGVkVmlld3M6IGZ1bmN0aW9uIGNhY2hlZFZpZXdzKCkgewogICAgICByZXR1cm4gdGhpcy4kc3RvcmUuc3RhdGUudGFnc1ZpZXcuY2FjaGVkVmlld3M7CiAgICB9LAogICAga2V5OiBmdW5jdGlvbiBrZXkoKSB7CiAgICAgIHJldHVybiB0aGlzLiRyb3V0ZS5wYXRoOwogICAgfQogIH0KfTs="},{"version":3,"mappings":";;;;;;;;;;AAWA;EACAA,eADA;EAEAC;IACAC,WADA,yBACA;MACA;IACA,CAHA;IAIAC,GAJA,iBAIA;MACA;IACA;EANA;AAFA","names":["name","computed","cachedViews","key"],"sourceRoot":"src/layout/components","sources":["AppMain.vue"],"sourcesContent":["<template>\n <section class=\"app-main\">\n <transition name=\"fade-transform\" mode=\"out-in\">\n <keep-alive :include=\"cachedViews\">\n <router-view :key=\"key\" />\n </keep-alive>\n </transition>\n </section>\n</template>\n\n<script>\nexport default {\n name: 'AppMain',\n computed: {\n cachedViews() {\n return this.$store.state.tagsView.cachedViews\n },\n key() {\n return this.$route.path\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.app-main {\n /* 50= navbar 50 */\n min-height: calc(100vh - 50px);\n width: 100%;\n position: relative;\n overflow: hidden;\n}\n\n.fixed-header+.app-main {\n padding-top: 50px;\n}\n\n.hasTagsView {\n .app-main {\n /* 84 = navbar + tags-view = 50 + 34 */\n min-height: calc(100vh - 84px);\n }\n\n .fixed-header+.app-main {\n padding-top: 84px;\n }\n}\n</style>\n\n<style lang=\"scss\">\n// fix css style bug in open el-dialog\n.el-popup-parent--hidden {\n .fixed-header {\n padding-right: 15px;\n }\n}\n</style>\n"]}]}
|