We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在控制台添加机器人的页面,选择任意一个有多个protocol的adapter(也就是除了discord和qqguild),都会报错
vue.js:1 TypeError: Cannot read properties of undefined (reading 'type')
导致页面表单无法显示,无法添加机器人
在机器人页面添加机器人,并且选择一个有多个protocol选项的adapter(如onebot)
应显示对应adapter的配置表单
No response
koishi/plugins/frontend/client/client/components/form/schema.vue
Lines 171 to 181 in b4d678c
active.value
.meta.description
The text was updated successfully, but these errors were encountered:
Fixed by 91aad42.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
在控制台添加机器人的页面,选择任意一个有多个protocol的adapter(也就是除了discord和qqguild),都会报错
导致页面表单无法显示,无法添加机器人
Steps to reproduce
在机器人页面添加机器人,并且选择一个有多个protocol选项的adapter(如onebot)
Expected behavior
应显示对应adapter的配置表单
Screenshots
No response
Versions
Additional context
koishi/plugins/frontend/client/client/components/form/schema.vue
Lines 171 to 181 in b4d678c
这里的174行的
active.value
,正常应该是一个object。加了断点之后,这里选择adapter之后发生了两次调用,第一次调用的时候
active.value
是正常的object,第二次调用是数字 0,导致访问它的.meta.description
直接报错。The text was updated successfully, but these errors were encountered: