mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-20 07:26:46 +00:00
微调样式、修复异常
This commit is contained in:
@@ -62,8 +62,10 @@ const WalineComponent = (props) => {
|
||||
}
|
||||
|
||||
return () => {
|
||||
waline.destroy()
|
||||
waline = null
|
||||
if (waline) {
|
||||
waline.destroy()
|
||||
waline = null
|
||||
}
|
||||
router.events.off('routeChangeComplete', updateWaline)
|
||||
}
|
||||
}, [])
|
||||
|
||||
Reference in New Issue
Block a user