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

最新代码 ApiTransfer编辑后无法正常显示数据 #3077

Closed
1455668754 opened this issue Sep 27, 2023 · 4 comments · Fixed by #3083
Closed

最新代码 ApiTransfer编辑后无法正常显示数据 #3077

1455668754 opened this issue Sep 27, 2023 · 4 comments · Fixed by #3083

Comments

@1455668754
Copy link
Contributor

1695780822782

编辑后
再次打开时 显示的依旧是原来的内容,未正常进行刷新

@DesignHhuang
Copy link
Contributor

@1455668754 这是你自己的系统么?自己的系统中应该自己控制数据的存储和展示吧?有没有更详细的问题描述。

@1455668754
Copy link
Contributor Author

@DesignHhuang 不是业务性问题,是框架中的ApiTransfer对应的Form放在Modal中,只有第一次Modal加载时,能正常初始化ApiTransfer中的数据,之后无法用setFieldsValue方式更新ApiTransfer选中值。
测试完,只有每次都销毁Modal,才能正常更新ApiTransfer初始化数据,应该是这个组件内部代码问题
1695798330858

@DesignHhuang
Copy link
Contributor

看一下这个 PR 能不能解决你的问题

@likui628
Copy link
Collaborator

@1455668754 方便的话把这个modal里的代码示例贴出来

likui628 pushed a commit that referenced this issue Sep 28, 2023
* fix: #3077 最新代码 ApiTransfer编辑后无法正常显示数据

* feat: 升级ant-design-vue至4.0.3

* feat: vite-config up to antd v4

* fix: 去掉console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants