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

请对ApiSelect进行改写 #3542

Closed
33550 opened this issue Jan 12, 2024 · 7 comments
Closed

请对ApiSelect进行改写 #3542

33550 opened this issue Jan 12, 2024 · 7 comments
Labels

Comments

@33550
Copy link

33550 commented Jan 12, 2024

希望ApiSelect进行options暴露更改

@xachary
Copy link
Contributor

xachary commented Jan 12, 2024

@33550 api 再套一层,返回 options 之前 处理一下?

@33550
Copy link
Author

33550 commented Jan 16, 2024

那样就有点麻烦了,因为在某些情况下不支持二次api请求,在对数据,进行回填的时候,进行二次封装的话,有可能造成外层数据的顺序紊乱,也有可能lodaing过长,显示失败

@xxxidos
Copy link

xxxidos commented Jan 18, 2024

@33550 参照其他组件,加一个afterFetch是否能满足?

@33550
Copy link
Author

33550 commented Jan 18, 2024

可以,其实就是需要能option进行处理就好

@anncwb
Copy link
Collaborator

anncwb commented Apr 9, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@anncwb anncwb added the Stale label Apr 9, 2024
@Air1996
Copy link

Air1996 commented Apr 11, 2024

image

修改 ApiSelect 的fetch方法,能满足我目前的需求

调用的时候

image

@anncwb
Copy link
Collaborator

anncwb commented Jun 11, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@anncwb anncwb added the Stale label Jun 11, 2024
@anncwb anncwb closed this as completed Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants