随笔分类 - uni-app
摘要:1.描述下问题出现的场景: 我们的地步栏是自定义封装的,首页、我的页面、服务页都是自定义组件组件,uni-app中Home.vue就没有onShow方法 先贴一段tabbar代码 <Home v-if="current == 0"></Home> <text v-show="current == 1
阅读全文
摘要:1.定义一个SystemSevice类,封装一个errorHanlder方法,处理error interface ICustomError { message?:string title?:string alertType?:string } errorHanlder(e:Error | ICust
阅读全文
摘要:request.post('/xcb-oms/api/applyForOrders', { ownerId: UserLoginData.shipownerId ? UserLoginData.shipownerId : '', supplyId: supplyId, emptyShipNum: e
阅读全文
摘要:1.uni.showLoading在使用后,uni.hideLoading再uni.showToast()之前调用,会出现短暂的一闪问题 解决方案: 去掉uni.hideLoading() 只保留uni.showToast()即可
阅读全文
浙公网安备 33010602011771号