Commit a7b57077 authored by liwei's avatar liwei

修改了菜单自动收起bug

parent 6fb21cea
......@@ -132,7 +132,7 @@ export const DataSourceRoute: AppRouteRecordRaw = {
title: '数据源',
icon: '',
hidden: true,
currentActiveMenu: '/mainBody/index',
currentActiveMenu: '/dataSourceManage',
},
children: [
{
......@@ -429,27 +429,20 @@ export const DataWarehousephysicalModelRoute: AppRouteRecordRaw = {
],
};
/**元模型*/
export const ModelRoute: AppRouteRecordRaw = {
path: '/metaModel',
name: 'metaModel',
component: LAYOUT,
meta: {
title: '编辑模型',
title: '模型',
icon: '',
hidden: true,
currentActiveMenu: '/metaModel',
},
children: [
{
path: 'physicsModel/index',
name: 'physicsModelIndex',
component: () => import('@/views/metaModel/physicsModel/index.vue'),
meta: {
title: '物理模型元模型',
icon: '',
},
},
{
path: 'physicsModel/EditRowTable',
name: 'physicsModel',
......
......@@ -82,7 +82,7 @@
/** 修改按钮*/
function handleUpdateButton() {
go('/metaModel/physicsModel/editRowTable');
go('/metaModel/physicsModel/EditRowTable');
}
</script>
<style>
......
......@@ -202,7 +202,7 @@
/** 修改按钮*/
function handleUpdateButton() {
go('/metaModel/physicsModel/editRowTable');
go('/metaModel/physicsModel/EditRowTable');
}
onMounted(() => {
......
......@@ -94,8 +94,7 @@ function handleTree(data, id, parentId, children, rootId) {
}
/**确定按钮*/
async function handleSubmit() {
const values = await validate();
function handleSubmit() {
router.push({
path: '/metaModel/physicsModel/EditRowTable',
query: {
......
......@@ -185,7 +185,7 @@ function handleSetButton() {
/** 修改按钮*/
function handleUpdateButton() {
go('/metaModel/physicsModel/editRowTable');
go('/metaModel/physicsModel/EditRowTable');
}
onMounted(() => {
......
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