Comments (5)
那有什么代替方案?我认为这种包裹 v-if
的写法是很常见的 @18148764734
from uni-app.
from uni-app.
这段代码执行返回一个数组,但该数组是通过 findDir
扫描是否含有 slot
来判断的,但却忽略是否含有 v-if
,导致产物 Prop
中的 u-s
传递是父文件内所有已使用 slot
.
from uni-app.
from uni-app.
感谢反馈,目前对于这个v-if,v-slot的处理涉及到各种复杂情况,只能暂时先采用静态编译slot插槽的方案,无法在运行时动态的根据变量判断。
from uni-app.
Related Issues (20)
- H5环境下,tabBar的高度问题
- App Ios getApp().globalData 挂在数据后,App升级导致数据丢失
- cli项目无法打包本地原生插件
- vulnerabilities high jpeg-js
- uniapp使用vant2
- vue3 模式下jsx渲染的子组件顺序有问题
- `3.0.0-4010520240507001` 版本使用 `vitest` 出现异常:`Error: Cannot find module 'vuex/package.json'` HOT 3
- 动态插槽拿不到作用域插槽的值
- uniapp-x 将来是否会支持cli方式创建编译项目
- uniapp 微信小程序编译错误 HOT 2
- uni-app SDK 使用 openUniMP 打开页面,在 onLoad 中拿不到参数
- 【bug】钉钉小程序在存在插槽后备内容的情况下,作用域插槽无效 HOT 3
- 3.7.9的版本以后版本,开启了自己的广告uni-ad!!!hbuild必须使用3.7.9的版本,不然使用了自定义插件,打包会报错!!! HOT 1
- add
- AGP8 + minSdk>21会白屏
- 组件放到同目录下,编译到小程序时报错, HOT 21
- createIntersectionObserver编译到web,放到iframe里面和直接打开,两种场景observe触发时机表现不一致
- uni.createRequestPermissionListener方法,只触发onComplete,未触发onConfirm方法
- input组件 :maxlength="-1"无法触发input事件,导致组件失效
- template 无法访问 setup script 定义的常量 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uni-app.