fix(regression): cannot perform any action

This commit is contained in:
Methapon2001 2024-12-25 15:14:57 +07:00
parent 929b6c779c
commit b988181631
2 changed files with 2 additions and 2 deletions

View file

@ -408,7 +408,7 @@ onMounted(async () => {
await configStore.getConfig();
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';
}