-
Notifications
You must be signed in to change notification settings - Fork 152
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
[QUESTION] #15
Comments
将显示控制台选项的类型改为复选框,直接获取布尔值,减少了出错的可能。并且给选项添加了默认值。 #15
现在应该已经修复辣~ |
fork这个仓库后直接打包还是会出现 |
现在应该没有问题了,我调整了默认值的字段(问了一下才知道默认值的字段是 default QAQ) |
十分感谢🥰 |
17:42:08.075/E: Error: The 'SHOW CONSOLE' field in the configuration is invalid, undefined. please check it again ! (6534c6390cfca0f22cbca128.js#763) 貌似和前面的大哥一样错误,使用的都是最新的软件版本 |
我之前也是这个错误,然后我修改了global.ts当中的部分判断,让它不要去检查就行了。新版的我还没用 |
新拉的的代码遇到同样的问题,除了修改global.ts判断还有啥别的方式吗 |
可以查看一下配置文件中“显示控制台“字段的默认值具体是什么。 我记得之前测试这个问题被修好了哇QAQ |
是不是配置的不对?global中
[
{
"name": "_TOKEN",
"type": "text",
"label": "pushplus 的用户 Token",
"help": "可以在 pushplus 的微信公众号中获取,不使用 pushplus 则留空"
},
{
"label": "显示控制台(需要悬浮窗权限)",
"type": "checkbox",
"name": "_SHOW_CONSOLE",
"default": true
}
{
"label": "显示控制台(需要悬浮窗权限)",
"type": "select",
"name": "SHOW_CONSOLE",
"options": {
"true": "是",
"false": "否"
},
"validation": "required",
"help": "下拉选择的帮助说明"
} |
你遇到的问题
清晰而简洁的 描述一下你遇到的问题。
编译上传 运行 以后 日志里面报错 the ‘show console’ field in the configuration is invalid
The text was updated successfully, but these errors were encountered: