Commit 804f6739 by 冷斌

fix bug

parent 3f1c745e
...@@ -29,7 +29,9 @@ ...@@ -29,7 +29,9 @@
<!-- 提交 --> <!-- 提交 -->
<div class="btnBox"> <div class="btnBox">
<button :disabled="isSub">提交</button> <button type="button" :class="[isSubmit ? 'btnOne' : 'btnTwo']" @click="submit" :disabled="isSub">
提交
</button>
</div> </div>
</div> </div>
...@@ -49,7 +51,9 @@ ...@@ -49,7 +51,9 @@
}, },
methods: { methods: {
//事件 //事件
submit: function () {
layer.msg("123");
}
}, },
watch: { 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