赛事注释

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() { showRange() {
this.rangeVisible = true this.rangeVisible = true
}, },
//
rangeChange(val, e) { rangeChange(val, e) {
const checked = this.$refs.range.getCheckedNodes() const checked = this.$refs.range.getCheckedNodes()
const name = [] const name = []
const { rangeChecked } = this const { rangeChecked } = this
checked.map(e => { 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) this.rangeChecked.push(...name)
}, },
@ -435,7 +436,6 @@ export default {
rangeSubmit() { rangeSubmit() {
// id // id
const data = [] const data = []
const isSearch = this.rangeList.length // schoolId
const checked = this.rangeChecked const checked = this.rangeChecked
checked.map(e => { checked.map(e => {
data.push({ data.push({

Loading…
Cancel
Save