Commit 34ad2d86 authored by 萌萌哒SAKURA酱's avatar 萌萌哒SAKURA酱

Refactoring code:Rename menu keepalive to keepAlive

parent 83129b83
......@@ -86,7 +86,7 @@ RouterPlugin.install = function(router, store) {
icon = oMenu[propsDefault.icon],
children = oMenu[propsDefault.children],
meta = {
keepAlive: Number(oMenu['keepalive']) === 0
keepAlive: Number(oMenu['keepAlive']) === 0
}
const isChild = children.length !== 0;
const oRouter = {
......
......@@ -118,9 +118,9 @@
:disabled="formEdit"
placeholder="iframe嵌套地址"></el-input>
</el-form-item>
<el-form-item label="页面缓冲"
<el-form-item label="路由缓冲"
prop="component">
<el-switch v-model="form.keepalive"
<el-switch v-model="form.keepAlive"
:disabled="formEdit"
active-color="#13ce66"
inactive-color="#ff4949"
......
......@@ -3,6 +3,7 @@ module.exports = {
lintOnSave: true,
productionSourceMap: false,
chainWebpack: (config) => {
// 忽略的打包文件
config.externals({
'vue': 'Vue',
'vue-router': 'VueRouter',
......@@ -12,7 +13,7 @@ module.exports = {
})
},
transpileDependencies: ['avue-plugin-transfer', 'avue-plugin-ueditor'],
//配置转发代理
// 配置转发代理
devServer: {
proxy: {
'/auth': {
......
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