暂存
This commit is contained in:
@@ -572,30 +572,6 @@
|
||||
})
|
||||
}
|
||||
|
||||
// if (!this.form.counter[0] && !this.form.counter[1]) {
|
||||
// newCounter = [0, 0]
|
||||
// } else {
|
||||
// this.form.counter.forEach((item, index) => {
|
||||
// if (!item || item == null) {
|
||||
// newCounter[index] = {
|
||||
// id: 0
|
||||
// }
|
||||
// // newCounter.splice(index, 1)
|
||||
// }
|
||||
// })
|
||||
// if (newCounter[0].id == newCounter[1].id) {
|
||||
// uni.showToast({
|
||||
// title: '两名记分员不能是同一人',
|
||||
// icon: 'none'
|
||||
// })
|
||||
// return
|
||||
// }
|
||||
|
||||
// newCounter = newCounter.map(item => {
|
||||
// return item.id
|
||||
// })
|
||||
// // console.log('删除后的newCounter',newCounter);
|
||||
// }
|
||||
|
||||
var _url = 'common/class/setUserRole'
|
||||
// this.form.classId ? _url = 'common/class/editClass' : _url = "common/class/addClass"
|
||||
|
||||
Reference in New Issue
Block a user