先版本回退一下
This commit is contained in:
		| @@ -101,10 +101,7 @@ export default { | ||||
|         header: levelLabels[i], list | ||||
|       })).slice(Math.max(0, this.startLevel), this.endLevel) | ||||
|       if (this.startLevel > 0 && ops.length > 0) { | ||||
|         const tmp = this.$copy(ops[0]?.list?.[0] || {}) | ||||
|         const prev = +tmp.type - 1 | ||||
|         const prevId = tmp.parentId | ||||
|         prev > -1 && ops.unshift({header: levelLabels[prev], list: [this.hashMap[prevId]]}) | ||||
|         ops[0].list = ops[0].list.filter(e => e.id == this.selectedMap[this.startLevel]) | ||||
|       } | ||||
|       return ops | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user