-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
vue 升级到3.4.5 后 showLoadingToast 出现【vue warn】 #12563
Comments
Hello @suncohey. Please provide an online reproduction demo by codesandbox or a minimal GitHub repository. Issues marked with 你好 @suncohey, 我们需要你提供一个在线的重现示例,以便于我们帮你排查问题。你可以通过点击 codesandbox 创建,或者提供一个最小化的 GitHub 仓库。如果 3 天内未跟进,此 issue 将会被自动关闭。背景请参考 为什么需要最小重现。 |
初步看了下是 vue 3.4.6 和 3.4.7 版本之间的一个改动引入了这个问题,它仅在开发环境会出现。根据改动的目的来看,在这个场景下触发警告应该是意料之外的。 因为这个问题涉及到上游,目前还不确定如何解决以及何时能够解决。如果有任何人对这个问题感兴趣,欢迎尝试解决。 |
Hello @suncohey. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please send your Pull Request to 你好 @suncohey,我们完全同意你的提议/反馈,欢迎直接在此仓库 创建一个 Pull Request 来解决这个问题。请将 Pull Request 发到 |
我也遇到这个,不知有没有什么影响 |
@chenjiahan 需要增加一个 upstream 的 label |
vue 3.4.15 已经修复这个问题 |
重现链接
/
Vant 版本
4.8.2
描述一下你遇到的问题。
[email protected]:10 [Vue warn]: Slot "default" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.
at <BaseTransition onAfterEnter=fn onAfterLeave=fn appear=false ... >
at <Transition name="van-fade" appear=false onAfterEnter=fn ... >
at <VanPopup class="van-toast van-toast--middle van-toast--text" lockScroll=false onClick=fn ... >
at <VanToast show=false onClosed=fn onUpdate:show=fn >
重现步骤
https://codesandbox.io/p/devbox/github/suncohey/vue3ye/tree/vantBug/?file=%2Fsrc%2FProject%2Fbc_a_1%2FApp.vue
yarn dev
设备/浏览器
_No respo
The text was updated successfully, but these errors were encountered: