Commit 2b33567a by Lyan

术语搜索bug更改

parent f9d118d2
......@@ -4,7 +4,7 @@
<div class="msg-cont">
<div class="title">术语搜索</div>
<div class="keyletter" >
<span v-for="(item, i) in chaxun.keyArr" :key="i" @click="searchInfo(item)" > {{item}}</span>
<span v-for="(item, i) in chaxun.keyArr" :key="i" :class="{isActive:keyArrStr==item}" @click="searchInfo(item)" > {{item}}</span>
</div>
<div class="knowledge-top-form col-lg-24">
<el-select class="col-lg-3"
......@@ -80,7 +80,8 @@ export default {
keywords: "",
},
type:1,
tableList:[]
tableList:[],
keyArrStr:''
};
},
created() {
......@@ -92,9 +93,12 @@ export default {
},
methods:{
searchInfo(i){
this.keyArrStr=i
this.chaxun.keywords=''
this.glossaryList(4,i)
},
getList(){
this.keyArrStr=''
this.glossaryList(this.type,this.chaxun.keywords)
},
// 专业术语列表
......
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