feat: 模板导入增加模板标识

This commit is contained in:
wangjiahao 2021-06-07 11:41:25 +08:00
parent cbc76cf2c9
commit c16d531483

View File

@ -118,6 +118,7 @@ export default {
this.templateInfo.templateStyle = this.importTemplateInfo.panelStyle
this.templateInfo.templateData = this.importTemplateInfo.panelData
this.templateInfo.snapshot = this.importTemplateInfo.snapshot
this.templateInfo.nodeType = 'template'
}
reader.readAsText(file)
},