diff --git a/frontend/src/views/panel/template/component/TemplateImport.vue b/frontend/src/views/panel/template/component/TemplateImport.vue index 8555567f23..7538a3f00c 100644 --- a/frontend/src/views/panel/template/component/TemplateImport.vue +++ b/frontend/src/views/panel/template/component/TemplateImport.vue @@ -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) },