Merge remote-tracking branch 'upstream/main'

This commit is contained in:
2026-08-26 09:31:34 +08:00
parent 9b8c4bfab6
commit 394eb0285d
34137 changed files with 3589424 additions and 0 deletions
@@ -0,0 +1 @@
{"remainingRequest":"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}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KDQppbXBvcnQgaWZyYW1lVG9nZ2xlIGZyb20gIi4vSWZyYW1lVG9nZ2xlL2luZGV4Ig0KDQpleHBvcnQgZGVmYXVsdCB7DQogIG5hbWU6ICdBcHBNYWluJywNCiAgY29tcG9uZW50czogeyBpZnJhbWVUb2dnbGUgfSwNCiAgY29tcHV0ZWQ6IHsNCiAgICBjYWNoZWRWaWV3cygpIHsNCiAgICAgIHJldHVybiB0aGlzLiRzdG9yZS5zdGF0ZS50YWdzVmlldy5jYWNoZWRWaWV3cw0KICAgIH0sDQogICAga2V5KCkgew0KICAgICAgcmV0dXJuIHRoaXMuJHJvdXRlLnBhdGgNCiAgICB9DQogIH0sDQogIHdhdGNoOiB7DQogICAgJHJvdXRlKCkgew0KICAgICAgdGhpcy5hZGRJZnJhbWUoKQ0KICAgIH0NCiAgfSwNCiAgbW91bnRlZCgpIHsNCiAgICB0aGlzLmFkZElmcmFtZSgpDQogIH0sDQogIG1ldGhvZHM6IHsNCiAgICBhZGRJZnJhbWUoKSB7DQogICAgICBjb25zdCB7IG5hbWUgfSA9IHRoaXMuJHJvdXRlDQogICAgICBpZiAobmFtZSAmJiB0aGlzLiRyb3V0ZS5tZXRhLmxpbmspIHsNCiAgICAgICAgdGhpcy4kc3RvcmUuZGlzcGF0Y2goJ3RhZ3NWaWV3L2FkZElmcmFtZVZpZXcnLCB0aGlzLiRyb3V0ZSkNCiAgICAgIH0NCiAgICB9DQogIH0NCn0NCg=="},{"version":3,"sources":["AppMain.vue"],"names":[],"mappings":";;;;;;;;;;;;AAYA;;AAEA;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":"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 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>"]}]}