motify sign

main
hcj 5 months ago
parent b2e67f9a15
commit 726ecb2c74
  1. 21
      pages/index/testtraining/teacherSign.vue

@ -94,16 +94,17 @@
},
submitte() {
// rules,
this.detailForm.forEach(it => {
if (!this.form[it.key]) {
console.log("不完整");
return uni.showToast({
title: '请将报名表填写完整',
icon: 'none'
})
}
})
const toggle = this.form.some(item=>{return toggle === ""})
// this.detailForm.forEach(it => {
// if (!this.form[it.key]) {
// console.log("");
// return uni.showToast({
// title: '',
// icon: 'none'
// })
// }
// })
const toggle = this.detailForm.some(item=>{return !this.form[item.key]})
console.log(toggle);
if(toggle){
uni.showToast({
title: '请将报名表填写完整',

Loading…
Cancel
Save