- skyline 手势操作返回报错null reading \'touches\'?
报错信息:Cannot read properties of null (reading \'touches\') [图片] 报错机型多为安卓机(JEF-AN00、JAD-AL50、ANN-AN00、2206123SC),微信版本8.0.48、8.0.49 代码片段 <vertical-drag-gesture-handler tag="pan" shouldResponseOnMove="shouldPanResponse" simultaneousHandlers="{{ ['scroll'] }}" onGestureEvent="handleVerticalDrag" style="flex: 1; overflow: auto;width: 100%;" > <view>...<view> <vertical-drag-gesture-handler> js代码片段 handleVerticalDrag(evt) { 'worklet'; if (!this.customRouteContext) return; if (evt.state === GestureState.BEGIN) { this.handleDragStart(); } else if (evt.state === GestureState.ACTIVE) { const delta = evt.deltaY / windowHeight; this.handleDragUpdate(delta); } else if (evt.state === GestureState.END) { const velocity = evt.velocityY / windowHeight; this.handleDragEnd(velocity); this.jsWorklet(evt.state); } else if (evt.state === GestureState.CANCELLED) { this.handleDragEnd(0.0); this.jsWorklet(evt.state); } }
06-03 - skyline 报错this.onPageEventAuto is not a function?
this.onPageEventAuto is not a function. (In 'this.onPageEventAuto("hideKeyboard",this.onHideKeyboard.bind(this))' e.getPageId is not a function. 报错机型iphone14 pro
05-31 - skyline支持template引入吗?
在将老页面改造成skyline的过程中,老页面使用了template模版,但是运行在skyline环境中找不到该dom模块是不支持吗?
05-31 - web分析日打开数据与app.onShow上报数据差距大,日打开数据应如何统计?
在app的生命周期onShow手动上报埋点,用来统计用户的日打开数据,但是该数据比web分析日打开数据多近两倍的访问量,这个是什么原因,日打开数据不等于onShow触发的次数?
05-10 - skyline发布到线上后this.renderer全部为false?
部分页面改造成skyline,在skyline页面中的onLoad判断是否是skyline页面,发布到线上后通过日志查看isHalfScreen始终是false,这个是什么原因,只能在调试模式下使用? // 是否是skyline 半屏显示 const { routeType } = wx.router.getRouteContext(this) || {}; this.setData({ isHalfScreen: this.renderer === 'skyline' && routeType, });
05-09 - "lazyCodeLoading": "requiredComponents"使页面切换耗时增加?
在app.json中配置了"lazyCodeLoading": "requiredComponents",发布线上后观察到页面切换的平均耗时明显增加,在排查问题中发现多配置了这个,在第二个版本中去掉了该配置,页面切换的平均耗时就开始降低,但是在使用skyline时又必须配置"lazyCodeLoading": "requiredComponents",这个是负优化吗?
04-23 - wx.getSkylineInfoSync 的使用必须配置renderer: skyline吗?
如果在 app.json 或 page.json 中没有配上renderer: skyline的情况下返回全部为isSupported:false。 ios手机返回值为:{\"isSupported\":false,\"reason\":\"a-b test not enabled\",\"version\":\"1.2.5\"} 安卓手机返回值为:{\"isSupported\":false,\"reason\":\"client not supported\",\"version\":\"1.2.5\"} 如果想统计下用户对skyline的支持情况还必须有个skyline的页面吗?
03-25 - iphone15 报错:Invalid character: \'\0\',微信api兼容问题?
[图片] 客户端版本:8.0.42 基础库版本:3.1.4 系统类型:IOS Invalid character:\'\0\',报错机型是iphone15,是否是基础库对苹果新机型的兼容问题
2023-10-30