fix(regression): cannot perform any action
This commit is contained in:
parent
929b6c779c
commit
b988181631
2 changed files with 2 additions and 2 deletions
|
|
@ -408,7 +408,7 @@ onMounted(async () => {
|
||||||
await configStore.getConfig();
|
await configStore.getConfig();
|
||||||
|
|
||||||
let currentId = route.params['id'] === 'add' ? undefined : route.params['id'];
|
let currentId = route.params['id'] === 'add' ? undefined : route.params['id'];
|
||||||
if (route.path === '/task-order/order/add') {
|
if (route.path === '/task-order/add') {
|
||||||
state.value.mode = 'create';
|
state.value.mode = 'create';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -129,7 +129,7 @@ const routes: RouteRecordRaw[] = [
|
||||||
component: () => import('pages/08_request-list/RequestListView.vue'),
|
component: () => import('pages/08_request-list/RequestListView.vue'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/task-order/order/add',
|
path: '/task-order/add',
|
||||||
name: 'TaskOrderAdd',
|
name: 'TaskOrderAdd',
|
||||||
component: () => import('pages/09_task-order/order_view/MainPage.vue'),
|
component: () => import('pages/09_task-order/order_view/MainPage.vue'),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue