Commit 5259fded by 冷斌

fix bug

parent e6cd7fd8
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<!-- 提交 --> <!-- 提交 -->
<div class="btnBox"> <div class="btnBox">
<button type="button" :style="isBk" @click="submit" :disabled="isSub"> <button type="button" :style="isBk" @click="submit" :disabled="isSub">
提交 {{btn}}
</button> </button>
</div> </div>
</div> </div>
...@@ -48,7 +48,8 @@ ...@@ -48,7 +48,8 @@
thumb: '', thumb: '',
}, },
isSub: true, isSub: true,
isBk: '' isBk: '',
btn: '提交',
}, },
methods: { methods: {
//事件 //事件
...@@ -66,6 +67,7 @@ ...@@ -66,6 +67,7 @@
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",
......
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