bugfixed
This commit is contained in:
@ -62,10 +62,10 @@
|
||||
:data="createdData(state.demandDetail.keywords)"
|
||||
></wordcloud>
|
||||
</div>
|
||||
<div class="btns">
|
||||
<!-- <div class="btns">
|
||||
<div class="order">预约对接</div>
|
||||
<div class="share">一键分享</div>
|
||||
</div>
|
||||
</div> -->
|
||||
</el-row>
|
||||
</div>
|
||||
|
||||
@ -194,19 +194,22 @@ function createdData(arr) {
|
||||
}
|
||||
|
||||
function handleList(mode, keyword) {
|
||||
router.push({ path: `/searchList/${mode}`, query: { keyword } });
|
||||
router.push({
|
||||
path: `/searchList/${mode}`,
|
||||
query: { keyword, queryType: route.query.queryType },
|
||||
});
|
||||
}
|
||||
|
||||
// 首次加载数据,其后跳转页面
|
||||
let flag = true;
|
||||
|
||||
function handleQuery(keyword) {
|
||||
state.keyword = keyword;
|
||||
function handleQuery(state) {
|
||||
state.keyword = state.currentKeyword;
|
||||
if (flag) {
|
||||
getDataList();
|
||||
flag = false;
|
||||
} else {
|
||||
handleList(0, keyword);
|
||||
handleList("serviceDemand", state.currentKeyword);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user