提交 2651b877 编写于 作者: 求知_攀登者's avatar 求知_攀登者 提交者: 求知_攀登者

加了一些新东西

上级 cdebc19e
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\default.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\default.vue","mtime":1634183056916},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js","mtime":1633999617253},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\nimport Page from \"./BasePage.vue\";\nexport default {\n extends: Page,\n index: 0,\n title: \"首页\",\n name: 'Default',\n props: {// msg: String\n },\n data: function data() {\n return {\n msg: \"这是首页\",\n date: new Date()\n };\n },\n created: function created() {\n console.log(this.$store);\n },\n methods: {\n /**\n * 重新加载页面\n */\n reload: function reload() {\n var _this = this;\n\n /**\n * 方法一:直接调用状态属性\n * */\n // this.$store.state.RouterViewState = false;\n // this.$nextTick(()=>{\n // this.$store.state.RouterViewState = true;\n // });\n\n /**\n * 方法二:通过actiongs中的方法调用\n */\n this.$store.dispatch(\"reload\", false);\n this.$nextTick(function () {\n _this.$store.dispatch(\"reload\", true);\n });\n }\n }\n};",{"version":3,"sources":["default.vue"],"names":[],"mappings":";;;;;;;;;AAUA,OAAA,IAAA;AACA,eAAA;AACA,EAAA,OAAA,EAAA,IADA;AAEA,EAAA,KAAA,EAAA,CAFA;AAGA,EAAA,KAAA,EAAA,IAHA;AAIA,EAAA,IAAA,EAAA,SAJA;AAKA,EAAA,KAAA,EAAA,CACA;AADA,GALA;AAQA,EAAA,IARA,kBAQA;AACA,WAAA;AACA,MAAA,GAAA,EAAA,MADA;AAEA,MAAA,IAAA,EAAA,IAAA,IAAA;AAFA,KAAA;AAIA,GAbA;AAcA,EAAA,OAdA,qBAcA;AACA,IAAA,OAAA,CAAA,GAAA,CAAA,KAAA,MAAA;AACA,GAhBA;AAiBA,EAAA,OAAA,EAAA;AACA;;;AAGA,IAAA,MAJA,oBAIA;AAAA;;AACA;;;AAGA;AACA;AACA;AACA;;AACA;;;AAGA,WAAA,MAAA,CAAA,QAAA,CAAA,QAAA,EAAA,KAAA;AACA,WAAA,SAAA,CAAA,YAAA;AACA,QAAA,KAAA,CAAA,MAAA,CAAA,QAAA,CAAA,QAAA,EAAA,IAAA;AACA,OAFA;AAGA;AAnBA;AAjBA,CAAA","sourcesContent":["<template>\r\n\t<div>\r\n\t\t<div>{{ msg }}{{date}}</div><el-button @click=\"reload\" type=\"primary\" class=\"icon el-icon-refresh-right\"> 刷新页面</el-button>\r\n\t\t<img alt=\"Vue logo\" src=\"../assets/logo.png\">\r\n\t\t\r\n\t\t\r\n\t</div>\n</template>\n\n<script>\r\n\timport Page from './BasePage.vue';\r\n\texport default {\r\n\t extends:Page,\r\n\t index: 0,\t\r\n\t title:\"首页\",\r\n\t name: 'Default',\r\n\t props: {\r\n\t // msg: String\r\n\t },\r\n\t data(){\r\n\t\t return{\t\t\t\r\n\t\t\tmsg:\"这是首页\",\r\n\t\t\tdate: new Date()\r\n\t\t }\r\n\t },\r\n\t created(){\t\t \r\n\t\t console.log(this.$store);\r\n\t },\r\n\t methods:{\r\n\t\t /**\r\n\t\t * 重新加载页面\r\n\t\t */\r\n\t\t reload(){\r\n\t\t\t /**\r\n\t\t\t * 方法一:直接调用状态属性\r\n\t\t\t * */\r\n\t\t\t // this.$store.state.RouterViewState = false;\r\n\t\t\t // this.$nextTick(()=>{\r\n\t\t\t\t // this.$store.state.RouterViewState = true;\r\n\t\t\t // });\r\n\t\t\t /**\r\n\t\t\t * 方法二:通过actiongs中的方法调用\r\n\t\t\t */\r\n\t\t\t this.$store.dispatch(\"reload\",false);\r\n\t\t\t this.$nextTick(()=>{\r\n\t\t\t this.$store.dispatch(\"reload\",true);\r\n\t\t\t });\r\n\t\t }\r\n\t }\r\n\t}\n</script>\n\n<style>\n</style>\n"],"sourceRoot":"src/components"}]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\default.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\default.vue","mtime":1634800081960},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js","mtime":1633999617253},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js","mtime":1633999617253},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\nimport Page from \"./BasePage.vue\";\nexport default {\n extends: Page,\n index: 0,\n title: \"首页\",\n name: 'Default',\n props: {// msg: String\n },\n data: function data() {\n return {\n msg: \"这是首页\",\n date: new Date()\n };\n },\n created: function created() {\n console.log(this.$store);\n },\n computed: {\n getDate: function getDate() {\n return new Date();\n }\n },\n methods: {\n /**\n * 重新加载页面\n */\n reload: function reload() {\n var _this = this;\n\n /**\n * 方法一:直接调用状态属性\n * */\n // this.$store.state.RouterViewState = false;\n // this.$nextTick(()=>{\n // this.$store.state.RouterViewState = true;\n // });\n\n /**\n * 方法二:通过actiongs中的方法调用\n */\n this.$store.dispatch(\"reload\", false);\n this.$nextTick(function () {\n _this.$store.dispatch(\"reload\", true);\n });\n }\n }\n};",{"version":3,"sources":["default.vue"],"names":[],"mappings":";;;;;;;;;AAUA,OAAA,IAAA;AACA,eAAA;AACA,EAAA,OAAA,EAAA,IADA;AAEA,EAAA,KAAA,EAAA,CAFA;AAGA,EAAA,KAAA,EAAA,IAHA;AAIA,EAAA,IAAA,EAAA,SAJA;AAKA,EAAA,KAAA,EAAA,CACA;AADA,GALA;AAQA,EAAA,IARA,kBAQA;AACA,WAAA;AACA,MAAA,GAAA,EAAA,MADA;AAEA,MAAA,IAAA,EAAA,IAAA,IAAA;AAFA,KAAA;AAIA,GAbA;AAcA,EAAA,OAdA,qBAcA;AACA,IAAA,OAAA,CAAA,GAAA,CAAA,KAAA,MAAA;AACA,GAhBA;AAiBA,EAAA,QAAA,EAAA;AACA,IAAA,OAAA,EAAA,mBAAA;AACA,aAAA,IAAA,IAAA,EAAA;AACA;AAHA,GAjBA;AAsBA,EAAA,OAAA,EAAA;AACA;;;AAGA,IAAA,MAJA,oBAIA;AAAA;;AACA;;;AAGA;AACA;AACA;AACA;;AACA;;;AAGA,WAAA,MAAA,CAAA,QAAA,CAAA,QAAA,EAAA,KAAA;AACA,WAAA,SAAA,CAAA,YAAA;AACA,QAAA,KAAA,CAAA,MAAA,CAAA,QAAA,CAAA,QAAA,EAAA,IAAA;AACA,OAFA;AAGA;AAnBA;AAtBA,CAAA","sourcesContent":["<template>\r\n\t<div>\r\n\t\t<div>{{getDate}}{{ msg }}{{date}}</div><el-button @click=\"reload\" type=\"primary\" class=\"icon el-icon-refresh-right\"> 刷新页面</el-button>\r\n\t\t<img alt=\"Vue logo\" src=\"../assets/logo.png\">\r\n\t\t\r\n\t\t\r\n\t</div>\n</template>\n\n<script>\r\n\timport Page from './BasePage.vue';\r\n\texport default {\r\n\t extends:Page,\r\n\t index: 0,\t\r\n\t title:\"首页\",\r\n\t name: 'Default',\r\n\t props: {\r\n\t // msg: String\r\n\t },\r\n\t data(){\r\n\t\t return{\t\t\t\r\n\t\t\tmsg:\"这是首页\",\r\n\t\t\tdate: new Date()\r\n\t\t }\r\n\t },\r\n\t created(){\t\t \r\n\t\t console.log(this.$store);\r\n\t },\r\n\t computed:{\r\n\t\tgetDate:function(){\r\n\t\t\treturn new Date();\r\n\t\t} \r\n\t },\r\n\t methods:{\r\n\t\t /**\r\n\t\t * 重新加载页面\r\n\t\t */\r\n\t\t reload(){\r\n\t\t\t /**\r\n\t\t\t * 方法一:直接调用状态属性\r\n\t\t\t * */\r\n\t\t\t // this.$store.state.RouterViewState = false;\r\n\t\t\t // this.$nextTick(()=>{\r\n\t\t\t\t // this.$store.state.RouterViewState = true;\r\n\t\t\t // });\r\n\t\t\t /**\r\n\t\t\t * 方法二:通过actiongs中的方法调用\r\n\t\t\t */\r\n\t\t\t this.$store.dispatch(\"reload\",false);\r\n\t\t\t this.$nextTick(()=>{\r\n\t\t\t this.$store.dispatch(\"reload\",true);\r\n\t\t\t });\r\n\t\t }\r\n\t }\r\n\t}\n</script>\n\n<style>\n</style>\n"],"sourceRoot":"src/components"}]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue","mtime":1634708803092},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js","mtime":1633999617253},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js","mtime":1633999617253},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["import _objectSpread from \"D:\\\\softfilesave\\\\HB\\\\20211012\\\\SchoolProgram\\\\node_modules\\\\@babel\\\\runtime-corejs2/helpers/esm/objectSpread\";\n//\n//\n//\n//\n//\n//\n//\nimport { mapState, mapGetters, mapActions, mapMutations } from 'vuex';\n/**\n * 本页功能介绍:\n * 1.主页面;\n * 2.拥有嵌套路由\n * 3.实现页面重载(刷新)\n * */\n\nexport default {\n //extends: Page,\n name: 'Home',\n data: function data() {\n return {};\n },\n created: function created() {\n this.msg = this.$route.params.msg;\n },\n mounted: function mounted() {\n this.$router.push({\n name: 'Default'\n });\n },\n computed: _objectSpread({}, mapState([\"RouterViewState\"])),\n methods: {}\n};",{"version":3,"sources":["Home.vue"],"names":[],"mappings":";;;;;;;;AAQA,SAAA,QAAA,EAAA,UAAA,EAAA,UAAA,EAAA,YAAA,QAAA,MAAA;AACA;;;;;;;AAMA,eAAA;AACA;AACA,EAAA,IAAA,EAAA,MAFA;AAGA,EAAA,IAHA,kBAGA;AACA,WAAA,EAAA;AAGA,GAPA;AAQA,EAAA,OARA,qBAQA;AACA,SAAA,GAAA,GAAA,KAAA,MAAA,CAAA,MAAA,CAAA,GAAA;AACA,GAVA;AAWA,EAAA,OAXA,qBAWA;AACA,SAAA,OAAA,CAAA,IAAA,CAAA;AACA,MAAA,IAAA,EAAA;AADA,KAAA;AAGA,GAfA;AAgBA,EAAA,QAAA,oBACA,QAAA,CAAA,CAAA,iBAAA,CAAA,CADA,CAhBA;AAmBA,EAAA,OAAA,EAAA;AAnBA,CAAA","sourcesContent":["<template>\r\n\t<div class=\"hello\">\t\t\r\n\t\t<!-- Home页面的主视图区,嵌套的路由视图都在这里展示 -->\r\n\t\t<router-view v-if=\"RouterViewState\"></router-view>\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\n\timport { mapState, mapGetters, mapActions, mapMutations } from 'vuex';\r\n\t/**\r\n\t * 本页功能介绍:\r\n\t * 1.主页面;\r\n\t * 2.拥有嵌套路由\r\n\t * 3.实现页面重载(刷新)\r\n\t * */\r\n\texport default {\r\n\t\t//extends: Page,\r\n\t\tname: 'Home',\t\t\r\n\t\tdata() {\r\n\t\t\treturn{\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\tthis.msg = this.$route.params.msg;\r\n\t\t},\r\n\t\tmounted() { \r\n\t\t\tthis.$router.push({\r\n\t\t\t\tname: 'Default'\r\n\t\t\t});\r\n\t\t},\r\n\t\tcomputed:{\r\n\t\t\t...mapState([\"RouterViewState\"])\t\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\t\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\r\n<style scoped>\r\n\th3 {\r\n\t\tmargin: 40px 0 0;\r\n\t}\r\n\r\n\tul {\r\n\t\tlist-style-type: none;\r\n\t\tpadding: 0;\r\n\t}\r\n\r\n\tli {\r\n\t\tdisplay: inline-block;\r\n\t\tmargin: 0 10px;\r\n\t}\r\n\r\n\t.hello {\r\n\t\tcolor: #fff;\r\n\t}\r\n</style>\n"],"sourceRoot":"src/components"}]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue","mtime":1634710652438},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js","mtime":1633999617253},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js","mtime":1633999617253},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["import _objectSpread from \"D:\\\\softfilesave\\\\HB\\\\20211012\\\\SchoolProgram\\\\node_modules\\\\@babel\\\\runtime-corejs2/helpers/esm/objectSpread\";\n//\n//\n//\n//\n//\n//\n//\nimport { mapState, mapGetters, mapActions, mapMutations } from 'vuex';\n/**\n * 本页功能介绍:\n * 1.主页面;\n * 2.拥有嵌套路由\n * 3.实现页面重载(刷新)\n * */\n\nexport default {\n //extends: Page,\n name: 'Home',\n data: function data() {\n return {};\n },\n created: function created() {\n this.msg = this.$route.params.msg;\n },\n mounted: function mounted() {\n this.$router.push({\n name: 'Default'\n });\n },\n computed: _objectSpread({}, mapState([\"RouterViewState\"])),\n methods: {}\n};",{"version":3,"sources":["Home.vue"],"names":[],"mappings":";;;;;;;;AAQA,SAAA,QAAA,EAAA,UAAA,EAAA,UAAA,EAAA,YAAA,QAAA,MAAA;AACA;;;;;;;AAMA,eAAA;AACA;AACA,EAAA,IAAA,EAAA,MAFA;AAGA,EAAA,IAHA,kBAGA;AACA,WAAA,EAAA;AAGA,GAPA;AAQA,EAAA,OARA,qBAQA;AACA,SAAA,GAAA,GAAA,KAAA,MAAA,CAAA,MAAA,CAAA,GAAA;AACA,GAVA;AAWA,EAAA,OAXA,qBAWA;AAEA,SAAA,OAAA,CAAA,IAAA,CAAA;AACA,MAAA,IAAA,EAAA;AADA,KAAA;AAIA,GAjBA;AAkBA,EAAA,QAAA,oBACA,QAAA,CAAA,CAAA,iBAAA,CAAA,CADA,CAlBA;AAqBA,EAAA,OAAA,EAAA;AArBA,CAAA","sourcesContent":["<template>\r\n\t<div class=\"hello\">\t\t\r\n\t\t<!-- Home页面的主视图区,嵌套的路由视图都在这里展示 -->\r\n\t\t<router-view v-if=\"RouterViewState\"></router-view>\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\n\timport { mapState, mapGetters, mapActions, mapMutations } from 'vuex';\r\n\t/**\r\n\t * 本页功能介绍:\r\n\t * 1.主页面;\r\n\t * 2.拥有嵌套路由\r\n\t * 3.实现页面重载(刷新)\r\n\t * */\r\n\texport default {\r\n\t\t//extends: Page,\r\n\t\tname: 'Home',\t\t\r\n\t\tdata() {\r\n\t\t\treturn{\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\tthis.msg = this.$route.params.msg;\r\n\t\t},\r\n\t\tmounted() { \r\n\t\t\t\r\n\t\t\tthis.$router.push({\r\n\t\t\t\tname: 'Default'\r\n\t\t\t});\r\n\t\t\t\r\n\t\t},\r\n\t\tcomputed:{\r\n\t\t\t...mapState([\"RouterViewState\"])\t\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\t\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\r\n<style scoped>\r\n\th3 {\r\n\t\tmargin: 40px 0 0;\r\n\t}\r\n\r\n\tul {\r\n\t\tlist-style-type: none;\r\n\t\tpadding: 0;\r\n\t}\r\n\r\n\tli {\r\n\t\tdisplay: inline-block;\r\n\t\tmargin: 0 10px;\r\n\t}\r\n\r\n\t.hello {\r\n\t\tcolor: #fff;\r\n\t}\r\n</style>\n"],"sourceRoot":"src/components"}]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue","mtime":1634700840671},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js","mtime":1633999617253},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js","mtime":1633999617253},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//import Page from './BasePage.vue';\nexport default {\n // extends:Page,\n title: \"详情页面\",\n name: 'Detail',\n props: {// msg: String\n },\n data: function data() {\n return {\n student: {}\n };\n },\n created: function created() {//console.log(Page.name);\n },\n mounted: function mounted() {\n console.log(\"this.$route\", this.$route.params); //连接上没有参数,接收页面刷新参数丢失.\n // console.log(\"this.$route\",this.$route.query);//参数会出现在连接后面?XX=xx&XX=xx\n\n this.student = this.$route.params;\n }\n};",{"version":3,"sources":["detail.vue"],"names":[],"mappings":";;;;;;;;;;;AAYA;AACA,eAAA;AACA;AACA,EAAA,KAAA,EAAA,MAFA;AAGA,EAAA,IAAA,EAAA,QAHA;AAIA,EAAA,KAAA,EAAA,CACA;AADA,GAJA;AAOA,EAAA,IAPA,kBAOA;AACA,WAAA;AACA,MAAA,OAAA,EAAA;AADA,KAAA;AAGA,GAXA;AAYA,EAAA,OAZA,qBAYA,CACA;AACA,GAdA;AAeA,EAAA,OAfA,qBAeA;AACA,IAAA,OAAA,CAAA,GAAA,CAAA,aAAA,EAAA,KAAA,MAAA,CAAA,MAAA,EADA,CACA;AACA;;AACA,SAAA,OAAA,GAAA,KAAA,MAAA,CAAA,MAAA;AACA;AAnBA,CAAA","sourcesContent":["<template>\r\n\t<div>\r\n\t\t\r\n\t\t详情页面\r\n\r\n\t\t\t人数:{{student.studentSum}}人<br />\r\n\t\t\t班主任:{{student.classTeacher}}<br />\r\n\t\t\t班级:{{student.grade}}{{student.class}}<br />\r\n\t</div>\n</template>\n\n<script>\t\r\n\t\t//import Page from './BasePage.vue';\r\n\t\texport default {\r\n\t\t // extends:Page,\r\n\t\t title:\"详情页面\",\r\n\t\t name: 'Detail',\r\n\t\t props: {\r\n\t\t // msg: String\r\n\t\t },\r\n\t\t data(){\r\n\t\t\t return{\r\n\t\t\t\tstudent:{}\t\t \r\n\t\t\t }\r\n\t\t },\r\n\t\t created(){\r\n\t\t\t //console.log(Page.name);\r\n\t\t },\r\n\t\t mounted(){\r\n\t\t\t console.log(\"this.$route\",this.$route.params);//连接上没有参数,接收页面刷新参数丢失.\r\n\t\t\t // console.log(\"this.$route\",this.$route.query);//参数会出现在连接后面?XX=xx&XX=xx\r\n\t\t\t this.student = this.$route.params;\r\n\t\t }\r\n\t\t}\n</script>\n\n<style>\n</style>\n"],"sourceRoot":"src/components"}]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue","mtime":1634796940442},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js","mtime":1633999617253},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js","mtime":1633999617253},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//import Page from './BasePage.vue';\nexport default {\n // extends:Page,\n title: \"详情页面\",\n name: 'Detail',\n props: {// msg: String\n },\n data: function data() {\n return {\n student: {}\n };\n },\n created: function created() {//console.log(Page.name);\n },\n mounted: function mounted() {\n console.log(\"this.$route\", this.$route.params); //连接上没有参数,接收页面刷新参数丢失.\n // console.log(\"this.$route\",this.$route.query);//参数会出现在连接后面?XX=xx&XX=xx\n\n this.student = this.$route.params;\n\n if (this.student.id == undefined) {\n this.$router.push({\n name: 'Err',\n params: {\n msg: '错误!'\n }\n });\n }\n }\n};",{"version":3,"sources":["detail.vue"],"names":[],"mappings":";;;;;;;;;;;AAYA;AACA,eAAA;AACA;AACA,EAAA,KAAA,EAAA,MAFA;AAGA,EAAA,IAAA,EAAA,QAHA;AAIA,EAAA,KAAA,EAAA,CACA;AADA,GAJA;AAOA,EAAA,IAPA,kBAOA;AACA,WAAA;AACA,MAAA,OAAA,EAAA;AADA,KAAA;AAGA,GAXA;AAYA,EAAA,OAZA,qBAYA,CACA;AACA,GAdA;AAeA,EAAA,OAfA,qBAeA;AACA,IAAA,OAAA,CAAA,GAAA,CAAA,aAAA,EAAA,KAAA,MAAA,CAAA,MAAA,EADA,CACA;AACA;;AACA,SAAA,OAAA,GAAA,KAAA,MAAA,CAAA,MAAA;;AAEA,QAAA,KAAA,OAAA,CAAA,EAAA,IAAA,SAAA,EAAA;AACA,WAAA,OAAA,CAAA,IAAA,CAAA;AACA,QAAA,IAAA,EAAA,KADA;AAEA,QAAA,MAAA,EAAA;AAAA,UAAA,GAAA,EAAA;AAAA;AAFA,OAAA;AAKA;AACA;AA3BA,CAAA","sourcesContent":["<template>\r\n\t<div>\r\n\t\t\r\n\t\t详情页面\r\n\r\n\t\t\t人数:{{student.studentSum}}人<br />\r\n\t\t\t班主任:{{student.classTeacher}}<br />\r\n\t\t\t班级:{{student.grade}}{{student.class}}<br />\r\n\t</div>\n</template>\n\n<script>\t\r\n\t\t//import Page from './BasePage.vue';\r\n\t\texport default {\r\n\t\t // extends:Page,\r\n\t\t title:\"详情页面\",\r\n\t\t name: 'Detail',\r\n\t\t props: {\r\n\t\t // msg: String\r\n\t\t },\r\n\t\t data(){\r\n\t\t\t return{\r\n\t\t\t\tstudent:{}\t\t \r\n\t\t\t }\r\n\t\t },\r\n\t\t created(){\r\n\t\t\t //console.log(Page.name);\r\n\t\t },\r\n\t\t mounted(){\r\n\t\t\t console.log(\"this.$route\",this.$route.params);//连接上没有参数,接收页面刷新参数丢失.\r\n\t\t\t // console.log(\"this.$route\",this.$route.query);//参数会出现在连接后面?XX=xx&XX=xx\r\n\t\t\t this.student = this.$route.params;\r\n\t\t\t \r\n\t\t\t if(this.student.id == undefined){\r\n\t\t\t\t this.$router.push({\r\n\t\t\t\t\t name:'Err',\r\n\t\t\t\t\t params:{msg:'错误!'},\r\n\t\t\t\t\t \r\n\t\t\t\t })\r\n\t\t\t }\r\n\t\t }\r\n\t\t}\n</script>\n\n<style>\n</style>\n"],"sourceRoot":"src/components"}]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\routes.js","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\routes.js","mtime":1634710843854},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js","mtime":1633999617253}],"contextDependencies":[],"result":["import { Mymodule } from \"./module.js\";\nconsole.log(Mymodule['Student']); //const Home ()=>import('./components/Home.vue')\n\nvar routes = [{\n path: '/',\n name: 'Sidebar',\n components: {\n main: Mymodule['Home'],\n sidebar: Mymodule['Sidebar']\n }\n}, {\n path: '/',\n name: 'Home',\n components: {\n main: Mymodule['Home'],\n sidebar: Mymodule['Sidebar']\n },\n children: [{\n path: '/index',\n name: 'Default',\n component: Mymodule['Default'],\n meta: {\n requiresAuth: true\n },\n beforeEnter: function beforeEnter(to, from, next) {\n next();\n }\n }, {\n path: '/detail',\n name: 'Detail',\n component: Mymodule['Detail'],\n props: function props(route) {\n return {\n query: route.query.q\n };\n }\n }, {\n path: '/student',\n name: 'Student',\n component: Mymodule['Student']\n }, {\n path: '/grade',\n name: 'Grade',\n component: Mymodule['Grade']\n }, {\n path: '/score',\n name: 'Score',\n component: Mymodule['Scor']\n }, {\n path: '/TestPage',\n name: 'TestPage',\n component: Mymodule['TestPage'],\n props: function props(route) {\n return {\n query: route.query.q\n };\n }\n }, {\n path: '/ThirdPage',\n name: 'ThirdPage',\n component: Mymodule['ThirdPage']\n }]\n}, {\n path: '/login',\n name: 'Login',\n components: {\n main: Mymodule['Login']\n }\n}, {\n path: '*',\n name: 'Err',\n components: {\n main: Mymodule['Err']\n }\n}];\nexport default routes;",{"version":3,"sources":["D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\routes.js"],"names":["Mymodule","console","log","routes","path","name","components","main","sidebar","children","component","meta","requiresAuth","beforeEnter","to","from","next","props","route","query","q"],"mappings":"AAAA,SAAQA,QAAR;AACAC,OAAO,CAACC,GAAR,CAAYF,QAAQ,CAAC,SAAD,CAApB,E,CACA;;AACA,IAAMG,MAAM,GAAG,CACd;AACCC,EAAAA,IAAI,EAAE,GADP;AAECC,EAAAA,IAAI,EAAC,SAFN;AAGCC,EAAAA,UAAU,EAAE;AACXC,IAAAA,IAAI,EAAEP,QAAQ,CAAC,MAAD,CADH;AAEXQ,IAAAA,OAAO,EAAGR,QAAQ,CAAC,SAAD;AAFP;AAHb,CADc,EASd;AACCI,EAAAA,IAAI,EAAE,GADP;AAECC,EAAAA,IAAI,EAAC,MAFN;AAGCC,EAAAA,UAAU,EAAE;AACXC,IAAAA,IAAI,EAAEP,QAAQ,CAAC,MAAD,CADH;AAEXQ,IAAAA,OAAO,EAAGR,QAAQ,CAAC,SAAD;AAFP,GAHb;AAOCS,EAAAA,QAAQ,EAAE,CACT;AACCL,IAAAA,IAAI,EAAE,QADP;AAECC,IAAAA,IAAI,EAAE,SAFP;AAGCK,IAAAA,SAAS,EAACV,QAAQ,CAAC,SAAD,CAHnB;AAICW,IAAAA,IAAI,EAAE;AAAEC,MAAAA,YAAY,EAAE;AAAhB,KAJP;AAKCC,IAAAA,WAAW,EAAE,qBAACC,EAAD,EAAKC,IAAL,EAAWC,IAAX,EAAoB;AAC9BA,MAAAA,IAAI;AACN;AAPF,GADS,EAUT;AACCZ,IAAAA,IAAI,EAAE,SADP;AAECC,IAAAA,IAAI,EAAE,QAFP;AAGCK,IAAAA,SAAS,EAACV,QAAQ,CAAC,QAAD,CAHnB;AAICiB,IAAAA,KAAK,EAAE,eAAAC,KAAK;AAAA,aAAK;AAAEC,QAAAA,KAAK,EAAED,KAAK,CAACC,KAAN,CAAYC;AAArB,OAAL;AAAA;AAJb,GAVS,EAgBT;AACChB,IAAAA,IAAI,EAAE,UADP;AAECC,IAAAA,IAAI,EAAE,SAFP;AAGCK,IAAAA,SAAS,EAACV,QAAQ,CAAC,SAAD;AAHnB,GAhBS,EAsBT;AACCI,IAAAA,IAAI,EAAE,QADP;AAECC,IAAAA,IAAI,EAAE,OAFP;AAGCK,IAAAA,SAAS,EAAEV,QAAQ,CAAC,OAAD;AAHpB,GAtBS,EA4BT;AACCI,IAAAA,IAAI,EAAE,QADP;AAECC,IAAAA,IAAI,EAAE,OAFP;AAGCK,IAAAA,SAAS,EAAEV,QAAQ,CAAC,MAAD;AAHpB,GA5BS,EAkCT;AACCI,IAAAA,IAAI,EAAE,WADP;AAECC,IAAAA,IAAI,EAAE,UAFP;AAGCK,IAAAA,SAAS,EAAEV,QAAQ,CAAC,UAAD,CAHpB;AAICiB,IAAAA,KAAK,EAAE,eAAAC,KAAK;AAAA,aAAK;AAAEC,QAAAA,KAAK,EAAED,KAAK,CAACC,KAAN,CAAYC;AAArB,OAAL;AAAA;AAJb,GAlCS,EAyCT;AACChB,IAAAA,IAAI,EAAE,YADP;AAECC,IAAAA,IAAI,EAAE,WAFP;AAGCK,IAAAA,SAAS,EAAEV,QAAQ,CAAC,WAAD;AAHpB,GAzCS;AAPX,CATc,EAkEd;AACCI,EAAAA,IAAI,EAAE,QADP;AAECC,EAAAA,IAAI,EAAC,OAFN;AAGCC,EAAAA,UAAU,EAAE;AACXC,IAAAA,IAAI,EAAEP,QAAQ,CAAC,OAAD;AADH;AAHb,CAlEc,EAyEd;AACCI,EAAAA,IAAI,EAAE,GADP;AAECC,EAAAA,IAAI,EAAC,KAFN;AAGCC,EAAAA,UAAU,EAAE;AACXC,IAAAA,IAAI,EAAEP,QAAQ,CAAC,KAAD;AADH;AAHb,CAzEc,CAAf;AAmFA,eAAeG,MAAf","sourcesContent":["import {Mymodule} from './module.js';\r\nconsole.log(Mymodule['Student'])\r\n//const Home ()=>import('./components/Home.vue')\r\nconst routes = [\t\r\n\t{\r\n\t\tpath: '/',\t\r\n\t\tname:'Sidebar',\r\n\t\tcomponents: {\r\n\t\t\tmain: Mymodule['Home'],\r\n\t\t\tsidebar: Mymodule['Sidebar'],\r\n\t\t}\r\n\t},\t\r\n\t{\r\n\t\tpath: '/',\t\r\n\t\tname:'Home',\r\n\t\tcomponents: {\r\n\t\t\tmain: Mymodule['Home'],\t\r\n\t\t\tsidebar: Mymodule['Sidebar'],\r\n\t\t},\r\n\t\tchildren: [\r\n\t\t\t{\r\n\t\t\t\tpath: '/index',\r\n\t\t\t\tname: 'Default',\r\n\t\t\t\tcomponent:Mymodule['Default'],\r\n\t\t\t\tmeta: { requiresAuth: true },\r\n\t\t\t\tbeforeEnter: (to, from, next) => {\t\t\t\t \r\n\t\t\t\t next()\r\n\t\t\t\t}\r\n\t\t\t},\t\r\n\t\t\t{\r\n\t\t\t\tpath: '/detail',\r\n\t\t\t\tname: 'Detail',\r\n\t\t\t\tcomponent:Mymodule['Detail'],\r\n\t\t\t\tprops: route => ({ query: route.query.q })\r\n\t\t\t},\t\r\n\t\t\t{\r\n\t\t\t\tpath: '/student',\r\n\t\t\t\tname: 'Student',\r\n\t\t\t\tcomponent:Mymodule['Student'],\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t},\t\r\n\t\t\t{\r\n\t\t\t\tpath: '/grade',\r\n\t\t\t\tname: 'Grade',\r\n\t\t\t\tcomponent: Mymodule['Grade'],\r\n\t\t\t\t\r\n\t\t\t},\t\r\n\t\t\t{\r\n\t\t\t\tpath: '/score',\r\n\t\t\t\tname: 'Score',\r\n\t\t\t\tcomponent: Mymodule['Scor'],\r\n\t\t\t\t\r\n\t\t\t},\t\r\n\t\t\t{\r\n\t\t\t\tpath: '/TestPage',\r\n\t\t\t\tname: 'TestPage',\r\n\t\t\t\tcomponent: Mymodule['TestPage'],\r\n\t\t\t\tprops: route => ({ query: route.query.q })\r\n\t\t\t\t\r\n\t\t\t},\t\r\n\t\t\t{\r\n\t\t\t\tpath: '/ThirdPage',\r\n\t\t\t\tname: 'ThirdPage',\r\n\t\t\t\tcomponent: Mymodule['ThirdPage'],\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\t\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\tpath: '/login',\t\r\n\t\tname:'Login',\r\n\t\tcomponents: {\r\n\t\t\tmain: Mymodule['Login'],\t\t\t\r\n\t\t}\r\n\t},\t\t\r\n\t{\r\n\t\tpath: '*',\t\r\n\t\tname:'Err',\r\n\t\tcomponents: {\r\n\t\t\tmain: Mymodule['Err']\r\n\t\t}\r\n\t},\r\n\t\r\n\t\r\n]\r\nexport default routes;\n"]}]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\routes.js","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\routes.js","mtime":1634797051973},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js","mtime":1633999617253}],"contextDependencies":[],"result":["import { Mymodule } from \"./module.js\";\nconsole.log(\"Mymodule\", Mymodule); //const Home ()=>import('./components/Home.vue')\n\nvar routes = [// {\n// \tpath: '/',\n// \tcomponents: {\n// \t\tmain: Mymodule['Home'],\n// \t\tsidebar: Mymodule['Sidebar'],\n// \t}\n// },\t\n{\n path: '/',\n components: {\n default: Mymodule['Home'],\n sidebar: Mymodule['Sidebar']\n },\n children: [{\n path: '/index',\n name: 'Default',\n component: Mymodule['Default'],\n meta: {\n requiresAuth: true\n },\n beforeEnter: function beforeEnter(to, from, next) {\n next();\n }\n }, {\n path: '/detail',\n name: 'Detail',\n component: Mymodule['Detail'],\n props: function props(route) {\n return {\n query: route.query.q\n };\n }\n }, {\n path: '/student',\n name: 'Student',\n component: Mymodule['Student']\n }, {\n path: '/grade',\n name: 'Grade',\n component: Mymodule['Grade']\n }, {\n path: '/score',\n name: 'Score',\n component: Mymodule['Score']\n }, {\n path: '/TestPage',\n name: 'TestPage',\n component: Mymodule['TestPage'],\n props: function props(route) {\n return {\n query: route.query.q\n };\n }\n }, {\n path: '/ThirdPage',\n name: 'ThirdPage',\n component: Mymodule['ThirdPage']\n }]\n}, {\n path: '/login',\n name: 'Login',\n components: {\n default: Mymodule['Login'],\n sidebar: Mymodule['Sidebar']\n }\n}, {\n path: '*',\n name: 'Err',\n components: {\n default: Mymodule['Err'],\n sidebar: Mymodule['Sidebar']\n },\n beforeEnter: function beforeEnter(to, from, next) {\n console.log(to);\n next();\n }\n}];\nexport default routes;",{"version":3,"sources":["D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\routes.js"],"names":["Mymodule","console","log","routes","path","components","default","sidebar","children","name","component","meta","requiresAuth","beforeEnter","to","from","next","props","route","query","q"],"mappings":"AAAA,SAAQA,QAAR;AACAC,OAAO,CAACC,GAAR,CAAY,UAAZ,EAAuBF,QAAvB,E,CACA;;AACA,IAAMG,MAAM,GAAG,CACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACCC,EAAAA,IAAI,EAAE,GADP;AAECC,EAAAA,UAAU,EAAE;AACXC,IAAAA,OAAO,EAAEN,QAAQ,CAAC,MAAD,CADN;AAEXO,IAAAA,OAAO,EAAGP,QAAQ,CAAC,SAAD;AAFP,GAFb;AAMCQ,EAAAA,QAAQ,EAAE,CACT;AACCJ,IAAAA,IAAI,EAAE,QADP;AAECK,IAAAA,IAAI,EAAE,SAFP;AAGCC,IAAAA,SAAS,EAACV,QAAQ,CAAC,SAAD,CAHnB;AAICW,IAAAA,IAAI,EAAE;AAAEC,MAAAA,YAAY,EAAE;AAAhB,KAJP;AAKCC,IAAAA,WAAW,EAAE,qBAACC,EAAD,EAAKC,IAAL,EAAWC,IAAX,EAAoB;AAC9BA,MAAAA,IAAI;AACN;AAPF,GADS,EAUT;AACCZ,IAAAA,IAAI,EAAE,SADP;AAECK,IAAAA,IAAI,EAAE,QAFP;AAGCC,IAAAA,SAAS,EAACV,QAAQ,CAAC,QAAD,CAHnB;AAICiB,IAAAA,KAAK,EAAE,eAAAC,KAAK;AAAA,aAAK;AAAEC,QAAAA,KAAK,EAAED,KAAK,CAACC,KAAN,CAAYC;AAArB,OAAL;AAAA;AAJb,GAVS,EAgBT;AACChB,IAAAA,IAAI,EAAE,UADP;AAECK,IAAAA,IAAI,EAAE,SAFP;AAGCC,IAAAA,SAAS,EAACV,QAAQ,CAAC,SAAD;AAHnB,GAhBS,EAsBT;AACCI,IAAAA,IAAI,EAAE,QADP;AAECK,IAAAA,IAAI,EAAE,OAFP;AAGCC,IAAAA,SAAS,EAAEV,QAAQ,CAAC,OAAD;AAHpB,GAtBS,EA4BT;AACCI,IAAAA,IAAI,EAAE,QADP;AAECK,IAAAA,IAAI,EAAE,OAFP;AAGCC,IAAAA,SAAS,EAAEV,QAAQ,CAAC,OAAD;AAHpB,GA5BS,EAkCT;AACCI,IAAAA,IAAI,EAAE,WADP;AAECK,IAAAA,IAAI,EAAE,UAFP;AAGCC,IAAAA,SAAS,EAAEV,QAAQ,CAAC,UAAD,CAHpB;AAICiB,IAAAA,KAAK,EAAE,eAAAC,KAAK;AAAA,aAAK;AAAEC,QAAAA,KAAK,EAAED,KAAK,CAACC,KAAN,CAAYC;AAArB,OAAL;AAAA;AAJb,GAlCS,EAyCT;AACChB,IAAAA,IAAI,EAAE,YADP;AAECK,IAAAA,IAAI,EAAE,WAFP;AAGCC,IAAAA,SAAS,EAAEV,QAAQ,CAAC,WAAD;AAHpB,GAzCS;AANX,CARc,EAgEd;AACCI,EAAAA,IAAI,EAAE,QADP;AAECK,EAAAA,IAAI,EAAC,OAFN;AAGCJ,EAAAA,UAAU,EAAE;AACXC,IAAAA,OAAO,EAAEN,QAAQ,CAAC,OAAD,CADN;AAEXO,IAAAA,OAAO,EAAGP,QAAQ,CAAC,SAAD;AAFP;AAHb,CAhEc,EAwEd;AACCI,EAAAA,IAAI,EAAE,GADP;AAECK,EAAAA,IAAI,EAAC,KAFN;AAGCJ,EAAAA,UAAU,EAAE;AACXC,IAAAA,OAAO,EAAEN,QAAQ,CAAC,KAAD,CADN;AAEXO,IAAAA,OAAO,EAAGP,QAAQ,CAAC,SAAD;AAFP,GAHb;AAOCa,EAAAA,WAAW,EAAE,qBAACC,EAAD,EAAKC,IAAL,EAAWC,IAAX,EAAoB;AAChCf,IAAAA,OAAO,CAACC,GAAR,CAAYY,EAAZ;AACEE,IAAAA,IAAI;AACN;AAVF,CAxEc,CAAf;AAuFA,eAAeb,MAAf","sourcesContent":["import {Mymodule} from './module.js';\r\nconsole.log(\"Mymodule\",Mymodule)\r\n//const Home ()=>import('./components/Home.vue')\r\nconst routes = [\t\r\n\t// {\r\n\t// \tpath: '/',\r\n\t// \tcomponents: {\r\n\t// \t\tmain: Mymodule['Home'],\r\n\t// \t\tsidebar: Mymodule['Sidebar'],\r\n\t// \t}\r\n\t// },\t\r\n\t{\r\n\t\tpath: '/',\t\r\n\t\tcomponents: {\r\n\t\t\tdefault: Mymodule['Home'],\t\r\n\t\t\tsidebar: Mymodule['Sidebar'],\r\n\t\t},\r\n\t\tchildren: [\r\n\t\t\t{\r\n\t\t\t\tpath: '/index',\r\n\t\t\t\tname: 'Default',\r\n\t\t\t\tcomponent:Mymodule['Default'],\r\n\t\t\t\tmeta: { requiresAuth: true },\r\n\t\t\t\tbeforeEnter: (to, from, next) => {\t\t\t\t \r\n\t\t\t\t next()\r\n\t\t\t\t}\r\n\t\t\t},\t\r\n\t\t\t{\r\n\t\t\t\tpath: '/detail',\r\n\t\t\t\tname: 'Detail',\r\n\t\t\t\tcomponent:Mymodule['Detail'],\r\n\t\t\t\tprops: route => ({ query: route.query.q })\r\n\t\t\t},\t\r\n\t\t\t{\r\n\t\t\t\tpath: '/student',\r\n\t\t\t\tname: 'Student',\r\n\t\t\t\tcomponent:Mymodule['Student'],\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t},\t\r\n\t\t\t{\r\n\t\t\t\tpath: '/grade',\r\n\t\t\t\tname: 'Grade',\r\n\t\t\t\tcomponent: Mymodule['Grade'],\r\n\t\t\t\t\r\n\t\t\t},\t\r\n\t\t\t{\r\n\t\t\t\tpath: '/score',\r\n\t\t\t\tname: 'Score',\r\n\t\t\t\tcomponent: Mymodule['Score'],\r\n\t\t\t\t\r\n\t\t\t},\t\r\n\t\t\t{\r\n\t\t\t\tpath: '/TestPage',\r\n\t\t\t\tname: 'TestPage',\r\n\t\t\t\tcomponent: Mymodule['TestPage'],\r\n\t\t\t\tprops: route => ({ query: route.query.q })\r\n\t\t\t\t\r\n\t\t\t},\t\r\n\t\t\t{\r\n\t\t\t\tpath: '/ThirdPage',\r\n\t\t\t\tname: 'ThirdPage',\r\n\t\t\t\tcomponent: Mymodule['ThirdPage'],\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\t\r\n\t\t]\r\n\t},\r\n\t{\r\n\t\tpath: '/login',\t\r\n\t\tname:'Login',\r\n\t\tcomponents: {\r\n\t\t\tdefault: Mymodule['Login'],\t\r\n\t\t\tsidebar: Mymodule['Sidebar'],\r\n\t\t}\r\n\t},\t\t\r\n\t{\r\n\t\tpath: '*',\t\r\n\t\tname:'Err',\r\n\t\tcomponents: {\r\n\t\t\tdefault: Mymodule['Err'],\r\n\t\t\tsidebar: Mymodule['Sidebar'],\r\n\t\t},\t\t\r\n\t\tbeforeEnter: (to, from, next) => {\t\r\n\t\t\tconsole.log(to);\r\n\t\t next()\r\n\t\t}\r\n\t},\r\n\t\r\n\t\r\n]\r\nexport default routes;\n"]}]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue","mtime":1634700840671},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["import { render, staticRenderFns } from \"./detail.vue?vue&type=template&id=376851e1&\"\nimport script from \"./detail.vue?vue&type=script&lang=js&\"\nexport * from \"./detail.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\softfilesave\\\\HB\\\\20211012\\\\SchoolProgram\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('376851e1', component.options)\n } else {\n api.reload('376851e1', component.options)\n }\n module.hot.accept(\"./detail.vue?vue&type=template&id=376851e1&\", function () {\n api.rerender('376851e1', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"src/components/detail.vue\"\nexport default component.exports"]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue","mtime":1634796940442},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["import { render, staticRenderFns } from \"./detail.vue?vue&type=template&id=376851e1&\"\nimport script from \"./detail.vue?vue&type=script&lang=js&\"\nexport * from \"./detail.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\softfilesave\\\\HB\\\\20211012\\\\SchoolProgram\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('376851e1', component.options)\n } else {\n api.reload('376851e1', component.options)\n }\n module.hot.accept(\"./detail.vue?vue&type=template&id=376851e1&\", function () {\n api.rerender('376851e1', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"src/components/detail.vue\"\nexport default component.exports"]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue","mtime":1634708803092},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=8dc7cce2&scoped=true&\"\nimport script from \"./Home.vue?vue&type=script&lang=js&\"\nexport * from \"./Home.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&id=8dc7cce2&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8dc7cce2\",\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\softfilesave\\\\HB\\\\20211012\\\\SchoolProgram\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('8dc7cce2', component.options)\n } else {\n api.reload('8dc7cce2', component.options)\n }\n module.hot.accept(\"./Home.vue?vue&type=template&id=8dc7cce2&scoped=true&\", function () {\n api.rerender('8dc7cce2', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"src/components/Home.vue\"\nexport default component.exports"]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue","mtime":1634710652438},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=8dc7cce2&scoped=true&\"\nimport script from \"./Home.vue?vue&type=script&lang=js&\"\nexport * from \"./Home.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&id=8dc7cce2&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8dc7cce2\",\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\softfilesave\\\\HB\\\\20211012\\\\SchoolProgram\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('8dc7cce2', component.options)\n } else {\n api.reload('8dc7cce2', component.options)\n }\n module.hot.accept(\"./Home.vue?vue&type=template&id=8dc7cce2&scoped=true&\", function () {\n api.rerender('8dc7cce2', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"src/components/Home.vue\"\nexport default component.exports"]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\default.vue?vue&type=template&id=186857e1&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\default.vue","mtime":1634183056916},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":1633999614023},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["\n<div>\n\t<div>{{ msg }}{{date}}</div><el-button @click=\"reload\" type=\"primary\" class=\"icon el-icon-refresh-right\"> 刷新页面</el-button>\n\t<img alt=\"Vue logo\" src=\"../assets/logo.png\">\n\t\n\t\n</div>\n",null]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\default.vue?vue&type=template&id=186857e1&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\default.vue","mtime":1634800081960},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":1633999614023},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["\n<div>\n\t<div>{{getDate}}{{ msg }}{{date}}</div><el-button @click=\"reload\" type=\"primary\" class=\"icon el-icon-refresh-right\"> 刷新页面</el-button>\n\t<img alt=\"Vue logo\" src=\"../assets/logo.png\">\n\t\n\t\n</div>\n",null]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue","mtime":1634708803092},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js","mtime":1633999617253},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n\nimport { mapState, mapGetters, mapActions, mapMutations } from 'vuex';\n/**\n * 本页功能介绍:\n * 1.主页面;\n * 2.拥有嵌套路由\n * 3.实现页面重载(刷新)\n * */\nexport default {\n\t//extends: Page,\n\tname: 'Home',\t\t\n\tdata() {\n\t\treturn{\n\t\t\t\n\t\t}\n\t},\n\tcreated() {\n\t\tthis.msg = this.$route.params.msg;\n\t},\n\tmounted() { \n\t\tthis.$router.push({\n\t\t\tname: 'Default'\n\t\t});\n\t},\n\tcomputed:{\n\t\t...mapState([\"RouterViewState\"])\t\n\t},\n\tmethods:{\n\t\t\n\t}\n}\n",{"version":3,"sources":["Home.vue"],"names":[],"mappings":";;;;;;;;AAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA","file":"Home.vue","sourceRoot":"src/components","sourcesContent":["<template>\r\n\t<div class=\"hello\">\t\t\r\n\t\t<!-- Home页面的主视图区,嵌套的路由视图都在这里展示 -->\r\n\t\t<router-view v-if=\"RouterViewState\"></router-view>\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\n\timport { mapState, mapGetters, mapActions, mapMutations } from 'vuex';\r\n\t/**\r\n\t * 本页功能介绍:\r\n\t * 1.主页面;\r\n\t * 2.拥有嵌套路由\r\n\t * 3.实现页面重载(刷新)\r\n\t * */\r\n\texport default {\r\n\t\t//extends: Page,\r\n\t\tname: 'Home',\t\t\r\n\t\tdata() {\r\n\t\t\treturn{\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\tthis.msg = this.$route.params.msg;\r\n\t\t},\r\n\t\tmounted() { \r\n\t\t\tthis.$router.push({\r\n\t\t\t\tname: 'Default'\r\n\t\t\t});\r\n\t\t},\r\n\t\tcomputed:{\r\n\t\t\t...mapState([\"RouterViewState\"])\t\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\t\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\r\n<style scoped>\r\n\th3 {\r\n\t\tmargin: 40px 0 0;\r\n\t}\r\n\r\n\tul {\r\n\t\tlist-style-type: none;\r\n\t\tpadding: 0;\r\n\t}\r\n\r\n\tli {\r\n\t\tdisplay: inline-block;\r\n\t\tmargin: 0 10px;\r\n\t}\r\n\r\n\t.hello {\r\n\t\tcolor: #fff;\r\n\t}\r\n</style>\n"]}]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue","mtime":1634710652438},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js","mtime":1633999617253},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n\nimport { mapState, mapGetters, mapActions, mapMutations } from 'vuex';\n/**\n * 本页功能介绍:\n * 1.主页面;\n * 2.拥有嵌套路由\n * 3.实现页面重载(刷新)\n * */\nexport default {\n\t//extends: Page,\n\tname: 'Home',\t\t\n\tdata() {\n\t\treturn{\n\t\t\t\n\t\t}\n\t},\n\tcreated() {\n\t\tthis.msg = this.$route.params.msg;\n\t},\n\tmounted() { \n\t\t\n\t\tthis.$router.push({\n\t\t\tname: 'Default'\n\t\t});\n\t\t\n\t},\n\tcomputed:{\n\t\t...mapState([\"RouterViewState\"])\t\n\t},\n\tmethods:{\n\t\t\n\t}\n}\n",{"version":3,"sources":["Home.vue"],"names":[],"mappings":";;;;;;;;AAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA","file":"Home.vue","sourceRoot":"src/components","sourcesContent":["<template>\r\n\t<div class=\"hello\">\t\t\r\n\t\t<!-- Home页面的主视图区,嵌套的路由视图都在这里展示 -->\r\n\t\t<router-view v-if=\"RouterViewState\"></router-view>\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\n\timport { mapState, mapGetters, mapActions, mapMutations } from 'vuex';\r\n\t/**\r\n\t * 本页功能介绍:\r\n\t * 1.主页面;\r\n\t * 2.拥有嵌套路由\r\n\t * 3.实现页面重载(刷新)\r\n\t * */\r\n\texport default {\r\n\t\t//extends: Page,\r\n\t\tname: 'Home',\t\t\r\n\t\tdata() {\r\n\t\t\treturn{\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\tthis.msg = this.$route.params.msg;\r\n\t\t},\r\n\t\tmounted() { \r\n\t\t\t\r\n\t\t\tthis.$router.push({\r\n\t\t\t\tname: 'Default'\r\n\t\t\t});\r\n\t\t\t\r\n\t\t},\r\n\t\tcomputed:{\r\n\t\t\t...mapState([\"RouterViewState\"])\t\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\t\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\r\n<style scoped>\r\n\th3 {\r\n\t\tmargin: 40px 0 0;\r\n\t}\r\n\r\n\tul {\r\n\t\tlist-style-type: none;\r\n\t\tpadding: 0;\r\n\t}\r\n\r\n\tli {\r\n\t\tdisplay: inline-block;\r\n\t\tmargin: 0 10px;\r\n\t}\r\n\r\n\t.hello {\r\n\t\tcolor: #fff;\r\n\t}\r\n</style>\n"]}]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue?vue&type=template&id=8dc7cce2&scoped=true&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue","mtime":1634708803092},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":1633999614023},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"hello\" },\n [_vm.RouterViewState ? _c(\"router-view\") : _vm._e()],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }"]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue?vue&type=template&id=8dc7cce2&scoped=true&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue","mtime":1634710652438},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":1633999614023},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":1633999614023},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"hello\" },\n [_vm.RouterViewState ? _c(\"router-view\") : _vm._e()],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }"]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue?vue&type=template&id=8dc7cce2&scoped=true&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue","mtime":1634708803092},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":1633999614023},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["\n<div class=\"hello\">\t\t\n\t<!-- Home页面的主视图区,嵌套的路由视图都在这里展示 -->\n\t<router-view v-if=\"RouterViewState\"></router-view>\n</div>\n",null]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue?vue&type=template&id=8dc7cce2&scoped=true&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue","mtime":1634710652438},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":1633999614023},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["\n<div class=\"hello\">\t\t\n\t<!-- Home页面的主视图区,嵌套的路由视图都在这里展示 -->\n\t<router-view v-if=\"RouterViewState\"></router-view>\n</div>\n",null]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue?vue&type=template&id=376851e1&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue","mtime":1634700840671},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":1633999614023},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["\n<div>\n\t\n\t详情页面\n\n\t\t人数:{{student.studentSum}}人<br />\n\t\t班主任:{{student.classTeacher}}<br />\n\t\t班级:{{student.grade}}{{student.class}}<br />\n</div>\n",null]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue?vue&type=template&id=376851e1&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue","mtime":1634796940442},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":1633999614023},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["\n<div>\n\t\n\t详情页面\n\n\t\t人数:{{student.studentSum}}人<br />\n\t\t班主任:{{student.classTeacher}}<br />\n\t\t班级:{{student.grade}}{{student.class}}<br />\n</div>\n",null]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\default.vue","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\default.vue","mtime":1634183056916},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["import { render, staticRenderFns } from \"./default.vue?vue&type=template&id=186857e1&\"\nimport script from \"./default.vue?vue&type=script&lang=js&\"\nexport * from \"./default.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\softfilesave\\\\HB\\\\20211012\\\\SchoolProgram\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('186857e1', component.options)\n } else {\n api.reload('186857e1', component.options)\n }\n module.hot.accept(\"./default.vue?vue&type=template&id=186857e1&\", function () {\n api.rerender('186857e1', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"src/components/default.vue\"\nexport default component.exports"]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\default.vue","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\default.vue","mtime":1634800081960},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["import { render, staticRenderFns } from \"./default.vue?vue&type=template&id=186857e1&\"\nimport script from \"./default.vue?vue&type=script&lang=js&\"\nexport * from \"./default.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\softfilesave\\\\HB\\\\20211012\\\\SchoolProgram\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('186857e1', component.options)\n } else {\n api.reload('186857e1', component.options)\n }\n module.hot.accept(\"./default.vue?vue&type=template&id=186857e1&\", function () {\n api.rerender('186857e1', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"src/components/default.vue\"\nexport default component.exports"]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\default.vue?vue&type=template&id=186857e1&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\default.vue","mtime":1634183056916},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":1633999614023},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n _c(\"div\", [_vm._v(_vm._s(_vm.msg) + _vm._s(_vm.date))]),\n _c(\n \"el-button\",\n {\n staticClass: \"icon el-icon-refresh-right\",\n attrs: { type: \"primary\" },\n on: { click: _vm.reload }\n },\n [_vm._v(\" 刷新页面\")]\n ),\n _c(\"img\", {\n attrs: { alt: \"Vue logo\", src: require(\"../assets/logo.png\") }\n })\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }"]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\default.vue?vue&type=template&id=186857e1&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\default.vue","mtime":1634800081960},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":1633999614023},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":1633999614023},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n _c(\"div\", [\n _vm._v(_vm._s(_vm.getDate) + _vm._s(_vm.msg) + _vm._s(_vm.date))\n ]),\n _c(\n \"el-button\",\n {\n staticClass: \"icon el-icon-refresh-right\",\n attrs: { type: \"primary\" },\n on: { click: _vm.reload }\n },\n [_vm._v(\" 刷新页面\")]\n ),\n _c(\"img\", {\n attrs: { alt: \"Vue logo\", src: require(\"../assets/logo.png\") }\n })\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }"]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue?vue&type=style&index=0&id=8dc7cce2&scoped=true&lang=css&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue","mtime":1634708803092},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\css-loader\\index.js","mtime":1633999590284},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":1633999614021},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\postcss-loader\\src\\index.js","mtime":1633999616822},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nh3 {\n\tmargin: 40px 0 0;\n}\n\nul {\n\tlist-style-type: none;\n\tpadding: 0;\n}\n\nli {\n\tdisplay: inline-block;\n\tmargin: 0 10px;\n}\n\n.hello {\n\tcolor: #fff;\n}\n",{"version":3,"sources":["Home.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA","file":"Home.vue","sourceRoot":"src/components","sourcesContent":["<template>\r\n\t<div class=\"hello\">\t\t\r\n\t\t<!-- Home页面的主视图区,嵌套的路由视图都在这里展示 -->\r\n\t\t<router-view v-if=\"RouterViewState\"></router-view>\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\n\timport { mapState, mapGetters, mapActions, mapMutations } from 'vuex';\r\n\t/**\r\n\t * 本页功能介绍:\r\n\t * 1.主页面;\r\n\t * 2.拥有嵌套路由\r\n\t * 3.实现页面重载(刷新)\r\n\t * */\r\n\texport default {\r\n\t\t//extends: Page,\r\n\t\tname: 'Home',\t\t\r\n\t\tdata() {\r\n\t\t\treturn{\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\tthis.msg = this.$route.params.msg;\r\n\t\t},\r\n\t\tmounted() { \r\n\t\t\tthis.$router.push({\r\n\t\t\t\tname: 'Default'\r\n\t\t\t});\r\n\t\t},\r\n\t\tcomputed:{\r\n\t\t\t...mapState([\"RouterViewState\"])\t\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\t\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\r\n<style scoped>\r\n\th3 {\r\n\t\tmargin: 40px 0 0;\r\n\t}\r\n\r\n\tul {\r\n\t\tlist-style-type: none;\r\n\t\tpadding: 0;\r\n\t}\r\n\r\n\tli {\r\n\t\tdisplay: inline-block;\r\n\t\tmargin: 0 10px;\r\n\t}\r\n\r\n\t.hello {\r\n\t\tcolor: #fff;\r\n\t}\r\n</style>\n"]}]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue?vue&type=style&index=0&id=8dc7cce2&scoped=true&lang=css&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\Home.vue","mtime":1634710652438},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\css-loader\\index.js","mtime":1633999590284},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":1633999614021},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\postcss-loader\\src\\index.js","mtime":1633999616822},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nh3 {\n\tmargin: 40px 0 0;\n}\n\nul {\n\tlist-style-type: none;\n\tpadding: 0;\n}\n\nli {\n\tdisplay: inline-block;\n\tmargin: 0 10px;\n}\n\n.hello {\n\tcolor: #fff;\n}\n",{"version":3,"sources":["Home.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA","file":"Home.vue","sourceRoot":"src/components","sourcesContent":["<template>\r\n\t<div class=\"hello\">\t\t\r\n\t\t<!-- Home页面的主视图区,嵌套的路由视图都在这里展示 -->\r\n\t\t<router-view v-if=\"RouterViewState\"></router-view>\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\n\timport { mapState, mapGetters, mapActions, mapMutations } from 'vuex';\r\n\t/**\r\n\t * 本页功能介绍:\r\n\t * 1.主页面;\r\n\t * 2.拥有嵌套路由\r\n\t * 3.实现页面重载(刷新)\r\n\t * */\r\n\texport default {\r\n\t\t//extends: Page,\r\n\t\tname: 'Home',\t\t\r\n\t\tdata() {\r\n\t\t\treturn{\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\tthis.msg = this.$route.params.msg;\r\n\t\t},\r\n\t\tmounted() { \r\n\t\t\t\r\n\t\t\tthis.$router.push({\r\n\t\t\t\tname: 'Default'\r\n\t\t\t});\r\n\t\t\t\r\n\t\t},\r\n\t\tcomputed:{\r\n\t\t\t...mapState([\"RouterViewState\"])\t\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\t\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\r\n<style scoped>\r\n\th3 {\r\n\t\tmargin: 40px 0 0;\r\n\t}\r\n\r\n\tul {\r\n\t\tlist-style-type: none;\r\n\t\tpadding: 0;\r\n\t}\r\n\r\n\tli {\r\n\t\tdisplay: inline-block;\r\n\t\tmargin: 0 10px;\r\n\t}\r\n\r\n\t.hello {\r\n\t\tcolor: #fff;\r\n\t}\r\n</style>\n"]}]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue?vue&type=template&id=376851e1&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue","mtime":1634700840671},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":1633999614023},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", [\n _vm._v(\n \"\\n\\t\\n\\t详情页面\\n\\n\\t\\t人数:\" + _vm._s(_vm.student.studentSum) + \"\"\n ),\n _c(\"br\"),\n _vm._v(\"\\n\\t\\t班主任:\" + _vm._s(_vm.student.classTeacher)),\n _c(\"br\"),\n _vm._v(\n \"\\n\\t\\t班级:\" + _vm._s(_vm.student.grade) + _vm._s(_vm.student.class)\n ),\n _c(\"br\")\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }"]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue?vue&type=template&id=376851e1&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue","mtime":1634796940442},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":1633999614023},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":1633999614023},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", [\n _vm._v(\n \"\\n\\t\\n\\t详情页面\\n\\n\\t\\t人数:\" + _vm._s(_vm.student.studentSum) + \"\"\n ),\n _c(\"br\"),\n _vm._v(\"\\n\\t\\t班主任:\" + _vm._s(_vm.student.classTeacher)),\n _c(\"br\"),\n _vm._v(\n \"\\n\\t\\t班级:\" + _vm._s(_vm.student.grade) + _vm._s(_vm.student.class)\n ),\n _c(\"br\")\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }"]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue","mtime":1634700840671},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js","mtime":1633999617253},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n//import Page from './BasePage.vue';\nexport default {\n // extends:Page,\n title:\"详情页面\",\n name: 'Detail',\n props: {\n // msg: String\n },\n data(){\n\t return{\n\t\tstudent:{}\t\t \n\t }\n },\n created(){\n\t //console.log(Page.name);\n },\n mounted(){\n\t console.log(\"this.$route\",this.$route.params);//连接上没有参数,接收页面刷新参数丢失.\n\t // console.log(\"this.$route\",this.$route.query);//参数会出现在连接后面?XX=xx&XX=xx\n\t this.student = this.$route.params;\n }\n}\n",{"version":3,"sources":["detail.vue"],"names":[],"mappings":";;;;;;;;;;;;AAYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"detail.vue","sourceRoot":"src/components","sourcesContent":["<template>\r\n\t<div>\r\n\t\t\r\n\t\t详情页面\r\n\r\n\t\t\t人数:{{student.studentSum}}人<br />\r\n\t\t\t班主任:{{student.classTeacher}}<br />\r\n\t\t\t班级:{{student.grade}}{{student.class}}<br />\r\n\t</div>\n</template>\n\n<script>\t\r\n\t\t//import Page from './BasePage.vue';\r\n\t\texport default {\r\n\t\t // extends:Page,\r\n\t\t title:\"详情页面\",\r\n\t\t name: 'Detail',\r\n\t\t props: {\r\n\t\t // msg: String\r\n\t\t },\r\n\t\t data(){\r\n\t\t\t return{\r\n\t\t\t\tstudent:{}\t\t \r\n\t\t\t }\r\n\t\t },\r\n\t\t created(){\r\n\t\t\t //console.log(Page.name);\r\n\t\t },\r\n\t\t mounted(){\r\n\t\t\t console.log(\"this.$route\",this.$route.params);//连接上没有参数,接收页面刷新参数丢失.\r\n\t\t\t // console.log(\"this.$route\",this.$route.query);//参数会出现在连接后面?XX=xx&XX=xx\r\n\t\t\t this.student = this.$route.params;\r\n\t\t }\r\n\t\t}\n</script>\n\n<style>\n</style>\n"]}]}
\ No newline at end of file
{"remainingRequest":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\src\\components\\detail.vue","mtime":1634796940442},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\babel-loader\\lib\\index.js","mtime":1633999617253},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1633999600110},{"path":"D:\\softfilesave\\HB\\20211012\\SchoolProgram\\node_modules\\vue-loader\\lib\\index.js","mtime":1633999614004}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n//import Page from './BasePage.vue';\nexport default {\n // extends:Page,\n title:\"详情页面\",\n name: 'Detail',\n props: {\n // msg: String\n },\n data(){\n\t return{\n\t\tstudent:{}\t\t \n\t }\n },\n created(){\n\t //console.log(Page.name);\n },\n mounted(){\n\t console.log(\"this.$route\",this.$route.params);//连接上没有参数,接收页面刷新参数丢失.\n\t // console.log(\"this.$route\",this.$route.query);//参数会出现在连接后面?XX=xx&XX=xx\n\t this.student = this.$route.params;\n\t \n\t if(this.student.id == undefined){\n\t\t this.$router.push({\n\t\t\t name:'Err',\n\t\t\t params:{msg:'错误!'},\n\t\t\t \n\t\t })\n\t }\n }\n}\n",{"version":3,"sources":["detail.vue"],"names":[],"mappings":";;;;;;;;;;;;AAYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA","file":"detail.vue","sourceRoot":"src/components","sourcesContent":["<template>\r\n\t<div>\r\n\t\t\r\n\t\t详情页面\r\n\r\n\t\t\t人数:{{student.studentSum}}人<br />\r\n\t\t\t班主任:{{student.classTeacher}}<br />\r\n\t\t\t班级:{{student.grade}}{{student.class}}<br />\r\n\t</div>\n</template>\n\n<script>\t\r\n\t\t//import Page from './BasePage.vue';\r\n\t\texport default {\r\n\t\t // extends:Page,\r\n\t\t title:\"详情页面\",\r\n\t\t name: 'Detail',\r\n\t\t props: {\r\n\t\t // msg: String\r\n\t\t },\r\n\t\t data(){\r\n\t\t\t return{\r\n\t\t\t\tstudent:{}\t\t \r\n\t\t\t }\r\n\t\t },\r\n\t\t created(){\r\n\t\t\t //console.log(Page.name);\r\n\t\t },\r\n\t\t mounted(){\r\n\t\t\t console.log(\"this.$route\",this.$route.params);//连接上没有参数,接收页面刷新参数丢失.\r\n\t\t\t // console.log(\"this.$route\",this.$route.query);//参数会出现在连接后面?XX=xx&XX=xx\r\n\t\t\t this.student = this.$route.params;\r\n\t\t\t \r\n\t\t\t if(this.student.id == undefined){\r\n\t\t\t\t this.$router.push({\r\n\t\t\t\t\t name:'Err',\r\n\t\t\t\t\t params:{msg:'错误!'},\r\n\t\t\t\t\t \r\n\t\t\t\t })\r\n\t\t\t }\r\n\t\t }\r\n\t\t}\n</script>\n\n<style>\n</style>\n"]}]}
\ No newline at end of file
此差异已折叠。
......@@ -9,7 +9,7 @@
</div>
<div class='main'>
<router-view name="main"></router-view>
<router-view></router-view>
</div>
</div>
......@@ -36,10 +36,11 @@
},
mounted() {
this.$router.push({name: 'Sidebar'});
this.$router.push({path: '/sidebar'});
if(this.$store.state.user == null){
this.$router.push({
name: 'Login'
name: 'Login',
});
}else{
//Home的默认子路由
......
<template>
<div>
<div>{{ msg }}{{date}}</div><el-button @click="reload" type="primary" class="icon el-icon-refresh-right"> 刷新页面</el-button>
<div>{{getDate}}{{ msg }}{{date}}</div><el-button @click="reload" type="primary" class="icon el-icon-refresh-right"> 刷新页面</el-button>
<img alt="Vue logo" src="../assets/logo.png">
......@@ -26,6 +26,11 @@
created(){
console.log(this.$store);
},
computed:{
getDate:function(){
return new Date();
}
},
methods:{
/**
* 重新加载页面
......
......@@ -30,6 +30,14 @@
console.log("this.$route",this.$route.params);//连接上没有参数,接收页面刷新参数丢失.
// console.log("this.$route",this.$route.query);//参数会出现在连接后面?XX=xx&XX=xx
this.student = this.$route.params;
if(this.student.id == undefined){
this.$router.push({
name:'Err',
params:{msg:'错误!'},
})
}
}
}
</script>
......
import {Mymodule} from './module.js';
console.log(Mymodule['Student'])
console.log("Mymodule",Mymodule)
//const Home ()=>import('./components/Home.vue')
const routes = [
// {
// path: '/',
// components: {
// main: Mymodule['Home'],
// sidebar: Mymodule['Sidebar'],
// }
// },
{
path: '/',
name:'Sidebar',
components: {
main: Mymodule['Home'],
sidebar: Mymodule['Sidebar'],
}
},
{
path: '/',
name:'Home',
components: {
main: Mymodule['Home'],
default: Mymodule['Home'],
sidebar: Mymodule['Sidebar'],
},
children: [
......@@ -71,14 +69,17 @@ const routes = [
path: '/login',
name:'Login',
components: {
main: Mymodule['Login'],
default: Mymodule['Login'],
sidebar: Mymodule['Sidebar'],
}
},
{
path: '*',
name:'Err',
components: {
main: Mymodule['Err']
component: Mymodule['Err'],
beforeEnter: (to, from, next) => {
console.log("Err---to",to);
next()
}
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册