Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue3的报错,打开控制台会出现奇怪断点 #58

Closed
Bill70058 opened this issue Mar 1, 2023 · 2 comments
Closed

vue3的报错,打开控制台会出现奇怪断点 #58

Bill70058 opened this issue Mar 1, 2023 · 2 comments

Comments

@Bill70058
Copy link

使用vue3的时候经常会出现一种情况,语法写法没问题,但是打开控制台就会出现奇怪断点,点击继续运行却没有报错
async function waitForDomElementReady() { try { return await waitFor(() => { let mainText = getMainText(document.body); if (mainText && mainText.length >= 10) return !0; throw new Error("there is no main text"); }, { timeout: 1e4 }), !0; } catch (e3) { throw e3; } }
在throw new Error("there is no main text");这行

@pany-ang
Copy link
Member

pany-ang commented Mar 2, 2023

你没有提供最小复现,我也没办法给你排查。不过 ,业务问题最好自己慢慢调试解决,我这边主要还是解决该项目框架的问题

@Bill70058
Copy link
Author

你没有提供最小复现,我也没办法给你排查。不过 ,业务问题最好自己慢慢调试解决,我这边主要还是解决该项目框架的问题

找到问题了,是某个插件搞得鬼😂

@pany-ang pany-ang closed this as completed Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants