修改首页功能
This commit is contained in:
@ -130,16 +130,7 @@
|
||||
try{
|
||||
this.setCityInfo(city);
|
||||
// 返回上一页
|
||||
this.$Router.back(1, {
|
||||
success: () => {
|
||||
const {
|
||||
onLoad,
|
||||
options
|
||||
} = currentPage()
|
||||
// 刷新上一个页面
|
||||
onLoad && onLoad({ ...options, refresh: true })
|
||||
}
|
||||
})
|
||||
this.$Router.back(1)
|
||||
console.log(city)
|
||||
const historyList = this.historyList;
|
||||
const result = historyList.filter(item => item.name == city.name);
|
||||
|
||||
Reference in New Issue
Block a user