Commit ee5cfb59 authored by zhang's avatar zhang

fix: 修复搜索后点击其他类型无法显示数据

parent e0270a03
......@@ -141,7 +141,8 @@ export default {
standardNo: data.parent.parent.data.standardNo,
name: data.parent.parent.data.name,
type: data.parent.data.value,
chapter: node.chapter
chapter: node.chapter,
text: ''
}
this.$store.dispatch('standard/setStandardObj', standard)
}
......@@ -151,7 +152,8 @@ export default {
standardNo: data.parent.data.standardNo,
name: data.parent.data.name,
type: node.value,
chapter: ''
chapter: '',
text: ''
}
this.$store.dispatch('standard/setStandardObj', standard)
}
......
......@@ -389,6 +389,7 @@ export default {
this.queryParams.chapter = newVal.chapter
this.queryParams.name = newVal.name
this.queryParams.standardNo = newVal.standardNo
this.queryParams.text = newVal.text
this.loadData()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment