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

Bug: 指令管理的别名设置的两处问题 #323

Closed
Hieuzest opened this issue Apr 1, 2024 · 0 comments
Closed

Bug: 指令管理的别名设置的两处问题 #323

Hieuzest opened this issue Apr 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Hieuzest
Copy link
Contributor

Hieuzest commented Apr 1, 2024

Describe the bug

在指令管理页面中添加别名。只输入别名的场合
yml中写入的内容为 xxx: null
导致该指令详情页未显示
或指令管理无法加载( TypeError: Cannot destructure property 'create' of 'override' as it is null. in _CommandManager.accept

#322

在添加别名界面输入参数的场合
由于Argv.error至少为'',不能自动处理为false,因此确定按钮总是被禁用

Steps to reproduce

/

Expected behavior

/

Screenshots

No response

Versions

  • OS:
  • Platform:
  • Node version:
  • Koishi version:

Additional context

No response

@Hieuzest Hieuzest added the bug Something isn't working label Apr 1, 2024
@Hieuzest Hieuzest transferred this issue from koishijs/koishi Apr 1, 2024
@Hieuzest Hieuzest changed the title Bug: alias等场景中的空对象{}在写配置时被替换为null Bug: 指令管理的别名设置的两处问题 Apr 1, 2024
@shigma shigma closed this as completed in d19b2a4 Apr 24, 2024
shigma added a commit to shigma/schemastery that referenced this issue Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant