Commit 31f1eee9 by 冷斌

fix bug

parent 45d6bcfe
......@@ -64,7 +64,28 @@
this.isBk= status ? '' : 'background: #FC7583;';
},
submit: function () {
layer.msg("123");
this.isSub = false;
let _this = this;
$.ajax( {
type: "post",
url: "./index.php?g=Appapi&m=Feedback&a=feedbackSave",
dataType: "json",
cache:false,
timeout : 30000,
data: _this.form,
success:function(result) {
if (result.status == 0) {
layer.msg('提交成功',{},function(){
location.reload();
});
}else{
layer.msg(result.errormsg);
}
},
error : function() {
layer.msg('网络异常');
}
});
}
},
watch: {
......
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