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

CURD/CURD2的【查看】【编辑】对话框配置了初始化接口,在打开对话框时,初始化接口返回错误,但对话框没有处理错误 #9713

Open
citynook opened this issue Mar 4, 2024 · 0 comments

Comments

@citynook
Copy link

citynook commented Mar 4, 2024

描述问题:

为CURD2的【查看】【编辑】对话框配置了初始化接口,在预览时,特意让初始化接口返回错误,但对话框没有处理错误,显示的数据是上一次打开对话框的数据。

截图或视频:

图片1:配置了初始化接口
1709523220921

图片2:初始化接口返回错误,系统通过 notify 事件弹出了错误提示,但对话框自身没有处理此错误,依掉可以点击【提交】按钮。
image

如何复现(请务必完整填写下面内容):

  1. 你是如何使用 amis 的?
    sdknpm其他...

  2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
    6.2.1

  3. 粘贴有问题的完整 amis schema 代码:

code here...
  1. 操作步骤
    请简单描述一下复现的操作步骤...
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

1 participant