收口宿主导航诊断日志
微信小程序导航失败日志改为固定标签 移动 WebView 进程失败日志不再输出 detail 对象 补充门禁和共享决策记录
This commit is contained in:
@@ -796,8 +796,8 @@ describe('hostBridge', () => {
|
||||
);
|
||||
expect(consoleError).toHaveBeenCalledWith(
|
||||
'[host-bridge] wechat mini program navigation failed',
|
||||
navigationError,
|
||||
);
|
||||
expect(consoleError.mock.calls.flat()).not.toContain(navigationError);
|
||||
consoleError.mockRestore();
|
||||
});
|
||||
|
||||
|
||||
@@ -495,11 +495,8 @@ export async function navigateWechatMiniProgramPage(
|
||||
success() {
|
||||
resolve();
|
||||
},
|
||||
fail(error) {
|
||||
console.error(
|
||||
'[host-bridge] wechat mini program navigation failed',
|
||||
error,
|
||||
);
|
||||
fail(_error) {
|
||||
console.error('[host-bridge] wechat mini program navigation failed');
|
||||
reject(new Error(errorMessage));
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user