Feature: manual page now open in a new window

This commit is contained in:
萌萌哒赫萝
2023-09-12 00:31:41 -07:00
parent d776600df9
commit b197b32935
6 changed files with 52 additions and 7 deletions
+4
View File
@@ -358,6 +358,10 @@ const handleGetPicPeds = () => {
const handleSelect = (index: string) => {
defaultActive.value = index
if (index === routerConfig.DocumentPage) {
ipcRenderer.send('openManualWindow')
return
}
const type = index.match(routerConfig.UPLOADER_CONFIG_PAGE)
if (type === null) {
$router.push({