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(schemastery-vue): Schema.dict添加项目的体验优化 #1392

Open
Hieuzest opened this issue Apr 21, 2024 · 1 comment
Open

Bug(schemastery-vue): Schema.dict添加项目的体验优化 #1392

Hieuzest opened this issue Apr 21, 2024 · 1 comment

Comments

@Hieuzest
Copy link

Describe the bug

Schema.dict在前端显示时会根据key进行排序。当需要插入项目时,在key中输入会使得新项目被排序到前面,而光标仍在原本的位置造成错位,导致插入多项非常困难

Steps to reproduce

/

Expected behavior

/

Screenshots

No response

Versions

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

Additional context

No response

@Hieuzest Hieuzest added the bug BUG label Apr 21, 2024
@shigma
Copy link
Member

shigma commented Apr 21, 2024

没理解错的话这个好像是 js 自身的限制。包括如果你输入数值作为 key 的话也会强制排序。我不确定这个问题是否可以解决。

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants