diff --git a/views/newblog.html b/views/newblog.html index d2541a9..1cfafaa 100644 --- a/views/newblog.html +++ b/views/newblog.html @@ -122,6 +122,10 @@ this.blog.Title = itemTitle } this.getCatas() + + }, + mounted: function () { + var _this = this this.$refs.md.$on("imgAdd",(pos, $file)=>{ _this.$imgAdd(pos, $file) })