update
This commit is contained in:
@@ -15,11 +15,10 @@
|
||||
<span class="title">热搜榜</span>
|
||||
<!-- <span class="clear" @click="clearHistory" v-show="isShowClearHistory"><i class="el-icon-circle-close"></i>清空</span>-->
|
||||
</div>
|
||||
<div v-if="hotSearchKeyWords" v-show="isShowClearHistory">
|
||||
<div v-if="hotSearchKeyWords" v-for="(tag,index) in hotSearchKeyWords"
|
||||
:key="index" v-show="isShowClearHistory">
|
||||
<el-tag
|
||||
:v-if="hotSearchKeyWords"
|
||||
v-for="(tag,index) in hotSearchKeyWords"
|
||||
:key="index"
|
||||
size="small"
|
||||
style="margin-right: 10px; margin-top: 10px; cursor: pointer"
|
||||
@click="handleSearch(tag)"
|
||||
@@ -148,7 +147,6 @@ export default {
|
||||
}
|
||||
}).then((res)=>{
|
||||
if (res.data.code === 200) {
|
||||
|
||||
that.hotSearchKeyWords=res.data.data;
|
||||
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user