赛事注释

dev_202207 20220714
yujialong 2 years ago
parent 25f8237b12
commit 423bb87fb1
  1. 4
      src/views/match/add/index.vue

@ -384,12 +384,13 @@ export default {
showRange() {
this.rangeVisible = true
},
//
rangeChange(val, e) {
const checked = this.$refs.range.getCheckedNodes()
const name = []
const { rangeChecked } = this
checked.map(e => {
rangeChecked.find(n => n.value === e.value) || name.push(e.data)
rangeChecked.find(n => n.value === e.value) || name.push(e.data) // push
})
this.rangeChecked.push(...name)
},
@ -436,7 +437,6 @@ export default {
rangeSubmit() {
// id
const data = []
const isSearch = this.rangeList.length // schoolId
const checked = this.rangeChecked
checked.map(e => {
data.push({

Loading…
Cancel
Save