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

使用预制函数异常 #9

Closed
yjxzqh opened this issue Mar 17, 2023 · 0 comments
Closed

使用预制函数异常 #9

yjxzqh opened this issue Mar 17, 2023 · 0 comments

Comments

@yjxzqh
Copy link

yjxzqh commented Mar 17, 2023

首先声明场景,我是首次使用hamibot-assistant vscode插件创建该项目的默认模板
疑惑的是当我注释掉init()方法上传运行后,下文的console.show()会生效,但恢复注释执行init()方法时,并不会有弹出log弹窗的调试效果。
介于我并不知道hamibot的网页IDE如何获取报错信息,想问问模板作者init函数中的代码是否有误或可否提供其他解决思路

问题已解决,是由于hamibot表单配置中显示控制台的表单项默认为undefined导致的异常捕获,从而使得下行代码无法运行以至于无法执行显示控制台的函数

@yjxzqh yjxzqh closed this as completed Mar 18, 2023
@yjxzqh yjxzqh reopened this Mar 18, 2023
@yjxzqh yjxzqh closed this as completed Mar 18, 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

1 participant