@ -296,6 +296,7 @@ const cityOptions: { value: string; label: string }[] = [
|
||||
const city = new URLSearchParams(window.location.search).get('city')
|
||||
const allowed = (this.cityOptions || []).map((c: any) => c.value)
|
||||
if (city && allowed.includes(city)) this.selectedCity = city
|
||||
// 首页公开:未登录也直接加载首屏,不弹登录框
|
||||
this.loadPage(1)
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user