赛事注释

dev_2022-06-14
yujialong 2 years ago
parent d5cec48e52
commit a92e5c04f7
  1. 4
      src/pages/match/add/index.vue

@ -383,12 +383,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)
},
@ -435,7 +436,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