in JSON at position 276;stringToAnyType?
发布于 7 年前 作者 gangqiu 9785 次浏览 来自 官方Issues

appServiceSDKScriptError

Unexpected token , in JSON at position 276;stringToAnyType

SyntaxError: Unexpected token , in JSON at position 276

at JSON.parse (<anonymous>)

at https://lib/WASubContext.js:1:460977

at https://lib/WASubContext.js:1:460256

at beforeAll (https://lib/WASubContext.js:1:991187)

at Object.beforeAll (https://lib/WASubContext.js:1:460256)

at v (https://lib/WASubContext.js:1:386926)

at https://lib/WASubContext.js:1:388630

at i (https://lib/WASubContext.js:1:386118)

at https://lib/WASubContext.js:1:388612

at getStorageSync (https://lib/WASubContext.js:1:991070)

某一用户在同一个页面一直触发这个报错,sourceMap也查不到这个问题对应的点,可疑的点是

intersectionObserver.relativeToViewport这个api和onPageScroll,不确定这个问题是否已知。

1 回复

问题原因已找到,本地缓存中存入了表情,导致getStorageSync触发了这个报错

回到顶部