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

修改门户配置打包

parent c45a1d4a
......@@ -6,6 +6,7 @@
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build --mode production",
"beta": "vue-cli-service build --mode beta",
"test": "vue-cli-service build --mode test",
"build:prod": "vue-cli-service build --model prod",
"lint": "vue-cli-service lint",
......
<template>
<!-- <template>
<admin-layout>
<contextmenu
:itemList="menuItemList"
......@@ -115,10 +115,10 @@ export default {
this.correctPageMinHeight(this.tabsOffset);
},
watch: {
// "$router.options.routes": function (val) {
// this.excludeKeys = [];
// //this.loadCacheConfig(val);
// },
"$router.options.routes": function (val) {
this.excludeKeys = [];
this.loadCacheConfig(val);
},
$route: function (newRoute) {
this.activePage = newRoute.path;
const page = this.pageList.find((item) => item.path === newRoute.path);
......@@ -395,4 +395,4 @@ export default {
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