修复小程序内嵌页面标题同步
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-27 19:56:53 +08:00
parent 9ea1bfab71
commit f1047414bb
6 changed files with 113 additions and 3 deletions

View File

@@ -112,7 +112,7 @@ describe('讲解展厅列表返回', () => {
window.history.replaceState({}, '', window.location.href)
const wrapper = mountExplainList()
expect(wrapper.getComponent(ExplainHallSelectStub).props('forceInternalHeader')).toBe(true)
expect(wrapper.getComponent(ExplainHallSelectStub).props('forceInternalHeader')).toBe(false)
await wrapper.get('[data-testid="explain-list-back"]').trigger('click')
expect(uni.navigateBack).not.toHaveBeenCalled()