提交 0d9df812 编写于 作者: 杨广俊's avatar 杨广俊

测试 confirm

上级 17245d96
......@@ -101,19 +101,23 @@ export default {
// 删除关键词
deleteLabels(isAll, index=0, length=1) {
alert(1)
if(isAll) {
alert(2)
this.pageBurialPoin({
...m_search_history_search_dc,
labelValue: '',
createdTime: new Date().getTime(),
})
} else {
alert(3)
this.pageBurialPoin({
...m_search_history_search_d,
labelValue: '',
createdTime: new Date().getTime(),
})
}
alert(4)
let _this = this,
para = {
token: _this.token,
......
......@@ -41,6 +41,12 @@ export default {
gotoPage(itemData){
console.log('itemData', itemData)
// 如果没有跳转信息,则直接到搜索结果页面
this.pageBurialPoin({
...m_search_history_hot_search,
labelId: itemData.id,
labelValue: itemData.keyword,
createdTime: new Date().getTime()
})
if(!itemData.appModuleInfo
|| !(itemData.appModuleInfo.code === 'M001'
|| itemData.appModuleInfo.code === 'M002'
......@@ -66,12 +72,6 @@ export default {
jsonString: paramList
})
}
this.pageBurialPoin({
...m_search_history_hot_search,
labelId: itemData.id,
labelValue: itemData.keyword,
createdTime: new Date().getTime()
})
},
searchAction(searchText) {
if(this.showDelete) return
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册