- vant组件,Error: incongruent status: enter报错?
incongruent status: enter Error: incongruent status: enter at ct.checkStatus (https://miniprogram_npm/@vant/weapp/mixins/transition.js:127:17) at https://miniprogram_npm/@vant/weapp/mixins/transition.js:79:17 at t.<anonymous> (https://miniprogram_npm/@vant/weapp/common/utils.js:50:7) at Function.<anonymous> (https://lib/WASubContext.js:2:1293257) at https://lib/WASubContext.js:2:112392 at https://lib/WASubContext.js:2:1293413 at r (https://lib/WASubContext.js:2:1293386) at https://lib/WASubContext.js:2:1293540
2020-12-19 - 自定义tabbar切换时会闪烁
1. 减少不必要的 setData 可以消除 data 变化导致的闪烁现象 2. 使用普通 image 代替 cover-image 、普通 view 代替 cover-view 可以减弱由于 cover 组件创建偏慢导致的闪烁现象(但要注意组件层叠层级) 但 android 本身的的渲染延迟仍然会导致一部分闪烁现象
2023-05-11