Commit 85577f82 by 冷斌

fix bug

parent 383510c8
...@@ -38,17 +38,6 @@ ...@@ -38,17 +38,6 @@
<script> <script>
var vm = new Vue({ var vm = new Vue({
el: '#app', 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: { data: {
form:{ form:{
uid: "{$uid}", uid: "{$uid}",
...@@ -63,6 +52,17 @@ ...@@ -63,6 +52,17 @@
}, },
methods: { 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 () { submit: function () {
layer.msg("123"); 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