处理h5报错问题
This commit is contained in:
@@ -462,6 +462,7 @@
|
||||
},
|
||||
// 移动视频信息的样式
|
||||
tabBarStyle() {
|
||||
|
||||
let style = {
|
||||
// 滑块在页面渲染后第一次滑动时,无需动画效果
|
||||
'transition-duration': `${1}s`,
|
||||
@@ -758,11 +759,14 @@
|
||||
// #ifdef H5
|
||||
let el = document.querySelector('.uni-video-bar');
|
||||
console.log(el, '2222222')
|
||||
if (val) {
|
||||
el.style = 'display:block !important;';
|
||||
} else {
|
||||
el.style = 'display:none !important;';
|
||||
if(el){
|
||||
if (val) {
|
||||
el.style = 'display:block !important;';
|
||||
} else {
|
||||
el.style = 'display:none !important;';
|
||||
}
|
||||
}
|
||||
|
||||
// #endif
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user