增加路由展示

This commit is contained in:
aixianling
2022-07-27 10:31:56 +08:00
parent 9997f732dc
commit cf99b2730a
2 changed files with 4 additions and 1 deletions

View File

@@ -62,6 +62,9 @@
</el-form-item>
</template>
<template v-if="form.type==1">
<el-form-item label="路由名" prop="route">
<span v-text="form.route||'提交保存后会自动生成'"/>
</el-form-item>
<el-form-item label="菜单应用" prop="component">
<el-input v-model="form.component" placeholder="请输入" clearable/>
</el-form-item>

View File

@@ -17,8 +17,8 @@ Vue.use(vcUI);
Vue.use(dvui)
//富文本编辑器配置
Vue.config.productionTip = false;
Vue.prototype.$request = axios
Object.keys(utils).map((e) => (Vue.prototype[e] = utils[e]));
Vue.prototype.$request = axios
new Vue({
router,
store,