Commit 26b0302e by 冷斌

fix bug

parent 5259fded
...@@ -67,7 +67,6 @@ ...@@ -67,7 +67,6 @@
submit: function () { submit: function () {
this.isSub = false; this.isSub = false;
this.isBk = ''; this.isBk = '';
this.btn = '正在提交,请稍候';
let _this = this; let _this = this;
$.ajax( { $.ajax( {
type: "post", type: "post",
...@@ -79,7 +78,8 @@ ...@@ -79,7 +78,8 @@
success:function(result) { success:function(result) {
if (result.status == 0) { if (result.status == 0) {
layer.msg('提交成功',{},function(){ layer.msg('提交成功',{},function(){
location.reload(); _this.form.content = '';
_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