Commit da4b7cd7 by 刘海龙

111

parent 2e25a50a
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
} }
}, },
upload: function (e) { upload: function (e) {
layer.msg("上传方法图片调用了"); // layer.msg("上传方法图片调用了");
let _this = this; let _this = this;
let saveName, id = ''; let saveName, id = '';
if (_this.uploadName === 'front_view') { if (_this.uploadName === 'front_view') {
...@@ -224,9 +224,7 @@ ...@@ -224,9 +224,7 @@
}, },
created: function () { created: function () {
//加载触发函数 //加载触发函数
$("#file").live('change',function(){
this.upload()
})
} }
}); });
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment