Commit 5ea3b448 authored by 赵啸非's avatar 赵啸非

修改门户配置打包

parent c45a1d4a
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
"build": "vue-cli-service build --mode production", "build": "vue-cli-service build --mode production",
"beta": "vue-cli-service build --mode beta",
"test": "vue-cli-service build --mode test", "test": "vue-cli-service build --mode test",
"build:prod": "vue-cli-service build --model prod", "build:prod": "vue-cli-service build --model prod",
"lint": "vue-cli-service lint", "lint": "vue-cli-service lint",
......
<template> <!-- <template>
<admin-layout> <admin-layout>
<contextmenu <contextmenu
:itemList="menuItemList" :itemList="menuItemList"
...@@ -115,10 +115,10 @@ export default { ...@@ -115,10 +115,10 @@ export default {
this.correctPageMinHeight(this.tabsOffset); this.correctPageMinHeight(this.tabsOffset);
}, },
watch: { watch: {
// "$router.options.routes": function (val) { "$router.options.routes": function (val) {
// this.excludeKeys = []; this.excludeKeys = [];
// //this.loadCacheConfig(val); this.loadCacheConfig(val);
// }, },
$route: function (newRoute) { $route: function (newRoute) {
this.activePage = newRoute.path; this.activePage = newRoute.path;
const page = this.pageList.find((item) => item.path === newRoute.path); const page = this.pageList.find((item) => item.path === newRoute.path);
...@@ -395,4 +395,4 @@ export default { ...@@ -395,4 +395,4 @@ export default {
margin: 0 auto; margin: 0 auto;
} }
} }
</style> </style> -->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment