修复微信内嵌点位搜索导航
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-14 10:19:22 +08:00
parent ef59570b0e
commit 267b415673
4 changed files with 95 additions and 2 deletions

View File

@@ -172,6 +172,14 @@ afterEach(() => {
})
describe('首页搜索与地图闭环', () => {
it('同步首页标签时保留内嵌宿主参数', async () => {
window.location.hash = '#/pages/index/index?tab=guide&embedded=wechat-mini-program'
await mountIndex()
expect(window.location.hash).toBe('#/pages/index/index?tab=guide&embedded=wechat-mini-program')
})
it('首页暂不展示来馆入口及其到馆面板', async () => {
const wrapper = await mountIndex()