fix: Korsum右侧table展示问题,及如果先选中核素再点Analysis会出现右侧table没值的问题
This commit is contained in:
parent
d77247a262
commit
570ac48c5d
|
@ -15,13 +15,16 @@ export default {
|
||||||
text: Number,
|
text: Number,
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
text(newValue, oldValue) {
|
text: {
|
||||||
this.value = newValue
|
handler(newValue, oldValue) {
|
||||||
}
|
this.value = newValue
|
||||||
|
},
|
||||||
|
immediate: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
value: "",
|
value: '',
|
||||||
editable: false,
|
editable: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -221,7 +221,7 @@ export default {
|
||||||
list: [],
|
list: [],
|
||||||
|
|
||||||
nuclideList: [],
|
nuclideList: [],
|
||||||
selectedItem: {}, // output中左侧选中的项
|
selectedItem: null, // output中左侧选中的项
|
||||||
outputTableList: [], // output中表格列表数据
|
outputTableList: [], // output中表格列表数据
|
||||||
|
|
||||||
filterWord: '', // 筛选
|
filterWord: '', // 筛选
|
||||||
|
@ -300,6 +300,9 @@ export default {
|
||||||
this.isLoading = false
|
this.isLoading = false
|
||||||
if (success) {
|
if (success) {
|
||||||
this.analyseData = result
|
this.analyseData = result
|
||||||
|
if(this.selectedItem) {
|
||||||
|
this.handleOutputItemClick(this.selectedItem)
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(message)
|
this.$message.error(message)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user