Commit ee5cfb59 authored by zhang's avatar zhang

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

parent e0270a03
...@@ -141,7 +141,8 @@ export default { ...@@ -141,7 +141,8 @@ export default {
standardNo: data.parent.parent.data.standardNo, standardNo: data.parent.parent.data.standardNo,
name: data.parent.parent.data.name, name: data.parent.parent.data.name,
type: data.parent.data.value, type: data.parent.data.value,
chapter: node.chapter chapter: node.chapter,
text: ''
} }
this.$store.dispatch('standard/setStandardObj', standard) this.$store.dispatch('standard/setStandardObj', standard)
} }
...@@ -151,7 +152,8 @@ export default { ...@@ -151,7 +152,8 @@ export default {
standardNo: data.parent.data.standardNo, standardNo: data.parent.data.standardNo,
name: data.parent.data.name, name: data.parent.data.name,
type: node.value, type: node.value,
chapter: '' chapter: '',
text: ''
} }
this.$store.dispatch('standard/setStandardObj', standard) this.$store.dispatch('standard/setStandardObj', standard)
} }
......
...@@ -389,6 +389,7 @@ export default { ...@@ -389,6 +389,7 @@ export default {
this.queryParams.chapter = newVal.chapter this.queryParams.chapter = newVal.chapter
this.queryParams.name = newVal.name this.queryParams.name = newVal.name
this.queryParams.standardNo = newVal.standardNo this.queryParams.standardNo = newVal.standardNo
this.queryParams.text = newVal.text
this.loadData() 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