点击按钮,使用uni-popup实现向上的弹层效果,2~3s后才能弹出来(真机调试才会出现,预览没问题)PS:安卓和IOS都是
*失控类型{{item.label}} </uni-popup>
</view>
toggle(refName,itemIndex){
this.randomFlag=!this.randomFlag
this.$refs[refName].open('bottom')
this.itemIndex=itemIndex
},
点击按钮,使用uni-popup实现向上的弹层效果,2~3s后才能弹出来(真机调试才会出现,预览没问题)PS:安卓和IOS都是
*失控类型{{item.label}} </uni-popup>
</view>
toggle(refName,itemIndex){
this.randomFlag=!this.randomFlag
this.$refs[refName].open('bottom')
this.itemIndex=itemIndex
},
0 个回复