Commit 85577f82 by 冷斌

fix bug

parent 383510c8
......@@ -38,17 +38,6 @@
<script>
var vm = new Vue({
el: '#app',
checkSubmit: function () {
let status = false;
for (let i in this.form) {
if (this.form[i] === '') {
status = true;
break;
}
}
this.isSub = status;
this.isBk= status ? 'background: #FF9FBA;' : 'background: #FC7583;';
},
data: {
form:{
uid: "{$uid}",
......@@ -63,6 +52,17 @@
},
methods: {
//事件
checkSubmit: function () {
let status = false;
for (let i in this.form) {
if (this.form[i] === '') {
status = true;
break;
}
}
this.isSub = status;
this.isBk= status ? 'background: #FF9FBA;' : 'background: #FC7583;';
},
submit: function () {
layer.msg("123");
}
......
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