Commit a7b57077 authored by liwei's avatar liwei

修改了菜单自动收起bug

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