|
@@ -143,7 +143,7 @@ export default {
|
|
|
})
|
|
|
})
|
|
|
Promise.all([promise1, promise2, promise3]).then((res) => {
|
|
|
- let allData = res[0], data = res[1], arr = res[2].Content
|
|
|
+ let allData = res[0], data = res[1], arr = res[2].content
|
|
|
this.options = this.formatOptions(allData.content)
|
|
|
if (!this.all) {
|
|
|
this.content = data.content.map(t => {
|
|
@@ -156,7 +156,7 @@ export default {
|
|
|
}
|
|
|
if (arr) {
|
|
|
this.value = []
|
|
|
- arr.forEach(({ SourceType }) => this.value.push(SourceType))
|
|
|
+ arr.forEach(({ sourceType }) => this.value.push(sourceType))
|
|
|
this.oraginOption = this.options.filter(i => this.value.includes(i.code))
|
|
|
this.endOptions = this.options.filter(i => !this.value.includes(i.code))
|
|
|
}
|