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]: 数据导入完成后,上传excel导入数据的窗口不会自动刷新消失 #5567

Closed
lizhenghotoa opened this issue Oct 13, 2023 · 3 comments
Assignees
Labels
bug Something isn't working done 开发已完成 won't fix 不处理
Milestone

Comments

@lizhenghotoa
Copy link
Contributor

Description

image

Steps To Reproduce 重现步骤

见截图

Version 版本

2.5.15-beta.12

@lizhenghotoa lizhenghotoa added bug Something isn't working needs triaging 需要分类 labels Oct 13, 2023
@hotlong hotlong removed the needs triaging 需要分类 label Oct 16, 2023
@hotlong hotlong added this to the 2.5 milestone Oct 16, 2023
@sunhaolin
Copy link
Contributor

[Bug]: 导入完成后应刷新界面 #5305

@yinlianghui
Copy link
Contributor

是因为把amis sdk版本降级到2.9造成的,3.2没有这个问题。
因为2.9不支持form的stopAutoRefreshWhen值为false时自动重新触发form的inited事件,而导入成功后刷新数据及关闭窗口都是写在form的inited事件中的。

@yinlianghui
Copy link
Contributor

是因为把amis sdk版本降级到2.9造成的,3.2没有这个问题。 因为2.9不支持form的stopAutoRefreshWhen值为false时自动重新触发form的inited事件,而导入成功后刷新数据及关闭窗口都是写在form的inited事件中的。

把解决方案换成amis form的asyncApiFinished属性来配置导入完成后关闭窗口功能,一样只能在amis sdk 3.2下才生效,2.9还是不行。

@yinlianghui yinlianghui added the won't fix 不处理 label Oct 25, 2023
@hotlong hotlong added the done 开发已完成 label Nov 13, 2023
@hotlong hotlong closed this as completed Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working done 开发已完成 won't fix 不处理
Projects
None yet
Development

No branches or pull requests

4 participants