feat: 模板导入增加模板标识
This commit is contained in:
parent
cbc76cf2c9
commit
c16d531483
@ -118,6 +118,7 @@ export default {
|
|||||||
this.templateInfo.templateStyle = this.importTemplateInfo.panelStyle
|
this.templateInfo.templateStyle = this.importTemplateInfo.panelStyle
|
||||||
this.templateInfo.templateData = this.importTemplateInfo.panelData
|
this.templateInfo.templateData = this.importTemplateInfo.panelData
|
||||||
this.templateInfo.snapshot = this.importTemplateInfo.snapshot
|
this.templateInfo.snapshot = this.importTemplateInfo.snapshot
|
||||||
|
this.templateInfo.nodeType = 'template'
|
||||||
}
|
}
|
||||||
reader.readAsText(file)
|
reader.readAsText(file)
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user