问答提交后回显传参错误

This commit is contained in:
zyn
2023-04-12 14:16:09 +08:00
parent bce8e2ae5c
commit d0d912bfca
@@ -1354,6 +1354,7 @@ export default {
}else if(this.$route.query.type === 'FOREIGN_STAND'){
this.standType = 'FOREIGN'
}
this.standTypeChange()
let type = this.standType === 'FOREIGN' ? '海外标准' : this.standType === 'INLAND' ? '国内标准' : "企业标准"
this.selectById(this.$route.query.id,type).then(res =>{
this.handleSelectTableList = [res.data]
@@ -1368,6 +1369,7 @@ export default {
}else if(this.$route.query.type === 'FOREIGN_STAND'){
this.activeType = 'FOREIGN'
}
this.standTypeChange()
// this.activeType = this.$route.query.classification
// this.sourceClick()
this.activestand = this.$route.query.id