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
bug描述 使用组件展示异常
复现bug的步骤 组件a 嵌套组件b,组件b中放入元素,这里嵌套了多层slot
*问题截图 本来应该隐藏的也展示了
b组件没有渲染class
编译环境信息
运行环境信息
The text was updated successfully, but these errors were encountered:
您好: 1 $slots是只在vue端才有的 ,小程序组件中没有 $slots这样的属性 2 注意下代码中语法的规范,如果是 cml 语法,那么是 c-if="{{variable}}" 这样的写法,如果是类 vue语法 是 v-if="variable"; 3 如果使用类vue语法,需要在 template根元素上加 lang='vue'属性;
Sorry, something went wrong.
No branches or pull requests
bug描述
使用组件展示异常
复现bug的步骤
组件a 嵌套组件b,组件b中放入元素,这里嵌套了多层slot
*问题截图
本来应该隐藏的也展示了
b组件没有渲染class
编译环境信息
运行环境信息
The text was updated successfully, but these errors were encountered: