Bind targetFile

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
Kenji Okimoto 2018-05-17 19:24:13 +09:00
parent d16ddbdbbf
commit c632380e1d
No known key found for this signature in database
GPG Key ID: F9E3E329A5C5E4A1

View File

@ -51,6 +51,8 @@ window.addEventListener('load', () => {
}); });
}); });
this.params = params; this.params = params;
this.targetFile = this.$el.attributes.targetFile.nodeValue;
}, },
mounted: function(){ mounted: function(){
this.$emit("data-loaded"); this.$emit("data-loaded");