修改首页功能

This commit is contained in:
wangxiaowei
2026-04-23 10:41:27 +08:00
parent 7f8f15b809
commit a3edea96af
10 changed files with 45 additions and 37 deletions

View File

@ -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);