We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
问题描述 Vue3 项目,配置 vite.config.ts 后,使用百度动态库组件(这里举例一站式互动组件),传入 commentParam 为 undefined,导致组件功能不能正常使用。
复现步骤
预期结果 一站式互动组件动态库入参成功,正常渲染;
实际结果 一站式互动组件动态库入参为 undefined,非正常渲染;
系统信息:
The text was updated successfully, but these errors were encountered:
请详细说明使用情况,最好带上一个 demo
Sorry, something went wrong.
请详细说明使用情况,最好带上一个演示
https://github.com/Miaamen/uni-demo/tree/main/my-vue3-project 写了个 demo:
yarn install
yarn dev:mp-baidu
预期:一站式互动组件可以正常评论,而不是提示评论失败。
vue2 demo 是正常的:https://github.com/Miaamen/uni-demo/tree/main/my-alpha-project
fix(mp): usingSwanComponents (#3864)
06fc3a1
可以正常评论但是无法获取到组件的事件回调参数 比如clickComment事件回调是个空obj (此回调应该写到srid参数的)
请问这个问题解决了吗?问题关闭了?
fxy060608
No branches or pull requests
问题描述
Vue3 项目,配置 vite.config.ts 后,使用百度动态库组件(这里举例一站式互动组件),传入 commentParam 为 undefined,导致组件功能不能正常使用。
复现步骤
预期结果
一站式互动组件动态库入参成功,正常渲染;
实际结果
一站式互动组件动态库入参为 undefined,非正常渲染;
系统信息:
The text was updated successfully, but these errors were encountered: