File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export default defineBuildConfig({
88 esbuild : {
99 target : 'node18' ,
1010 minify : true ,
11+ sourcemap : true ,
1112 } ,
1213 } ,
1314 alias : {
Original file line number Diff line number Diff line change @@ -117,8 +117,8 @@ export async function jumpToConfirmPage() {
117117 await submitReviewBtn ! . click ( )
118118 await sleep ( 1200 ) // 可能会报错
119119 spinner . start ( '正在提交审核中...' )
120- const agreeCheckbox = await page . waitForSelector ( '.weui-desktop-icon-checkbox' )
121- const nextStepBtn = await page . waitForSelector ( '.code_submit_dialog .weui-desktop-btn.weui-desktop-btn_primary' )
120+ const agreeCheckbox = await page . waitForSelector ( '.weui-desktop-icon-checkbox' , { visible : true } )
121+ const nextStepBtn = await page . waitForSelector ( '.code_submit_dialog .weui-desktop-btn.weui-desktop-btn_primary' , { visible : true } )
122122 if ( ! agreeCheckbox || ! nextStepBtn )
123123 throw new Error ( '未找阅读并了解平台审核规则' )
124124 await agreeCheckbox . click ( )
You can’t perform that action at this time.
0 commit comments