This commit is contained in:
parent
fb633de087
commit
6a88eff958
|
@ -4,7 +4,7 @@ import http from "@/utils/request"
|
||||||
export default {
|
export default {
|
||||||
menu: {
|
menu: {
|
||||||
myMenus: {
|
myMenus: {
|
||||||
url: `${config.API_URL}/system/menu/my`,
|
url: `${config.API_URL}/system/menu/my/1.2.6`,
|
||||||
name: "获取我的菜单",
|
name: "获取我的菜单",
|
||||||
get: async function(){
|
get: async function(){
|
||||||
return await http.get(this.url);
|
return await http.get(this.url);
|
||||||
|
|
|
@ -32,24 +32,6 @@ const routes = [{
|
||||||
icon: "el-icon-user",
|
icon: "el-icon-user",
|
||||||
},
|
},
|
||||||
component: () => import(/* webpackChunkName: "usercenter" */ '@/views/userCenter'),
|
component: () => import(/* webpackChunkName: "usercenter" */ '@/views/userCenter'),
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "tableSetting",
|
|
||||||
path: "/setting/table",
|
|
||||||
meta: {
|
|
||||||
title: "表格列管理",
|
|
||||||
icon: "el-icon-s-fold",
|
|
||||||
},
|
|
||||||
component: () => import(/* webpackChunkName: "tableSetting" */ '@/views/setting/table'),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "formRender",
|
|
||||||
path: "/vab/form",
|
|
||||||
meta: {
|
|
||||||
title: "动态表单",
|
|
||||||
icon: "el-icon-receiving",
|
|
||||||
},
|
|
||||||
component: () => import(/* webpackChunkName: "formRender" */ '@/views/vab/form'),
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -385,8 +385,8 @@
|
||||||
this.form.name = "New Title"
|
this.form.name = "New Title"
|
||||||
},
|
},
|
||||||
setConfig(){
|
setConfig(){
|
||||||
this.config.formItems[1].span = this.config.formItems[1].span==24?12:24
|
|
||||||
this.config.formItems[2].span = this.config.formItems[2].span==24?12:24
|
this.config.formItems[2].span = this.config.formItems[2].span==24?12:24
|
||||||
|
this.config.formItems[3].span = this.config.formItems[3].span==24?12:24
|
||||||
},
|
},
|
||||||
save(){
|
save(){
|
||||||
this.$refs.formref.validate((valid, obj) => {
|
this.$refs.formref.validate((valid, obj) => {
|
||||||
|
|
Loading…
Reference in New Issue