- 设置禁止爬虫,出现大量报错
设置了sitemap.json设置了指定页面禁止爬虫,监控平台就出现了大量报错,报错内容如下: webviewScriptError Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. at g (http://100.109.145.229:18569/wxacrawler/public/vendor/WAWebview.3217bd6f100b5b7b115a.js:1:225507 at http://100.109.145.229:18569/wxacrawler/public/vendor/WAWebview.3217bd6f100b5b7b115a.js:1:225537 at E (http://100.109.145.229:18569/wxacrawler/public/vendor/WAWebview.3217bd6f100b5b7b115a.js:1:226216 at m.insertChildToElement (http://100.109.145.229:18569/wxacrawler/public/vendor/WAWebview.3217bd6f100b5b7b115a.js:1:227395 at a (http://100.109.145.229:18569/wxacrawler/public/vendor/WAWebview.3217bd6f100b5b7b115a.js:1:224043 at n.m.replaceChild (http://100.109.145.229:18569/wxacrawler/public/vendor/WAWebview.3217bd6f100b5b7b115a.js:1:229276 at b (http://100.109.145.229:18569/wxacrawler/public/vendor/WAWebview.3217bd6f100b5b7b115a.js:1:1261736 at p (http://100.109.145.229:18569/wxacrawler/public/vendor/WAWebview.3217bd6f100b5b7b115a.js:1:1262600 at b (http://100.109.145.229:18569/wxacrawler/public/vendor/WAWebview.3217bd6f100b5b7b115a.js:1:1261977 at e.value (http://100.109.145.229:18569/wxacrawler/public/vendor/WAWebview.3217bd6f100b5b7b115a.js:1:1270333 场景值都是1129,可以确认是微信爬虫的问题。
2020-01-15 - OnReachBottom触底事件在快速滑动时Bug
场景 : mac 模拟器 1712010 & iPhone 7手机 问题描述: 列表原先有6条数据, OnReachBottom触发时往里面每次推6条,推送的数据和原来列表的数据皆为静态数据, 快速滑动列表,会出现这种情况: 在列表有18条数据时,本应该触发三次onReachBottom, 但只触发了两次, 导致的情况是下滑不会更新数据。 此时先上滑再下拉能再次触发OnReachBottom。 (此情况并不一定是渲染了18条数据是发生,可能是12、24.....) 代码: [图片]
2017-12-14