mirror of
https://github.com/purocean/yn.git
synced 2026-10-16 07:26:07 +08:00
upd(mindmap): do not reset template after error occurred
This commit is contained in:
@@ -279,7 +279,6 @@ const render = async (km: any, content: string) => {
|
||||
km.setTemplate = km._setTemplate
|
||||
} catch (error) {
|
||||
await km.importData('text', t('mind-map.convert-error'))
|
||||
km.useTemplate('structure')
|
||||
km.execCommand('camera')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user