refactor: handle type pre view
This commit is contained in:
parent
2c4508861b
commit
6f3eceb6fb
1 changed files with 5 additions and 1 deletions
|
|
@ -349,7 +349,11 @@ async function storeDataLocal(id: string) {
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
||||||
window.open('/quotation/document-view', '_blank');
|
const url = new URL('/quotation/document-view', window.location.origin);
|
||||||
|
|
||||||
|
url.searchParams.append('type', pageState.currentTab.toLowerCase());
|
||||||
|
|
||||||
|
window.open(url, '_blank');
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue