1.uni-app中自定義組件onLoad,onReady不起做用
組件會使uniapp的生命週期失效,換成vue的生命週期就好了,在uni-app的組件中能夠直接使用Vue的生命週期函數對邏輯進行處理
2.如何在uni-app正確循環web-view
[https://www.jianshu.com/p/adc...]
3.uni-app開發app時,建議使用class選擇器,儘可能避免使用id選擇器,標籤選擇器
4.uni-app 如何強制刷新子組件vue
<insurance ref='insurance' v-if="show"></insurance> show:true this.show = false; this.$nextTick(() => { this.show = true; })