Commit caf808b3 by 冷斌

fix bug

parent 7cc47714
...@@ -77,9 +77,10 @@ ...@@ -77,9 +77,10 @@
data: _this.form, data: _this.form,
success:function(result) { success:function(result) {
if (result.status == 0) { if (result.status == 0) {
_this.form.content = ''; layer.msg('提交成功',{},function(){
_this.form.thumb = ''; _this.form.content = '';
layer.msg('提交成功',{},function(){}); _this.form.thumb = '';
});
}else{ }else{
layer.msg(result.errormsg); layer.msg(result.errormsg);
} }
......
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