[BUG] 引入小程序后出现了[渲染层错误]的报错并提示 Error: SystemError (webviewScriptError) {"isTrusted":true}
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start by reproducing the issue in WeChat Developer Tools 1.06.2301160 with base library 2.30.2, using both WeUI and tdesign-miniprogram. No project file or test is named; done means identifying a minimal reproduction and determining whether the two component libraries cause the rendering-layer and HTTP 500 errors.
Written by the indexing model from the issue text.
Description
Bug描述
引入微信小程序后出现了报错现象
[渲染层错误] Uncaught (in promise) [object Event]
(env: macOS,mp,1.06.2301160; lib: 2.30.2)
[渲染层错误] Error: SystemError (webviewScriptError)
{"isTrusted":true}
at Function.errorReport (http://127.0.0.1:33444/__pageframe__/__dev__/WAWebview.jst=wechat&s=1678412763592&v=2.30.2:1:131669)
at Object.<anonymous> (http://127.0.0.1:33444/__pageframe__/__dev__/WAWebview.jst=wechat&s=1678412763592&v=2.30.2:1:134226)
at a (http://127.0.0.1:33444/__pageframe__/__dev__/WAWebview.js?t=wechat&s=1678412763592&v=2.30.2:1:2123745)
at Object.cb (http://127.0.0.1:33444/__pageframe__/__dev__/WAWebview.js?t=wechat&s=1678412763592&v=2.30.2:1:2167028)
at R._privEmit (http://127.0.0.1:33444/__pageframe__/__dev__/WAWebview.js?t=wechat&s=1678412763592&v=2.30.2:1:80476)
at R.emit (http://127.0.0.1:33444/__pageframe__/__dev__/WAWebview.js?t=wechat&s=1678412763592&v=2.30.2:1:80766)
at http://127.0.0.1:33444/__pageframe__/__dev__/WAWebview.js?t=wechat&s=1678412763592&v=2.30.2:1:81571
at Ee (http://127.0.0.1:33444/__pageframe__/__dev__/WAWebview.js?t=wechat&s=1678412763592&v=2.30.2:1:88073)
at http://127.0.0.1:33444/__pageframe__/__dev__/WAWebview.js?t=wechat&s=1678412763592&v=2.30.2:1:88565
at Ee (http://127.0.0.1:33444/__pageframe__/__dev__/WAWebview.js?t=wechat&s=1678412763592&v=2.30.2:1:88073)
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
(env: macOS,mp,1.06.2301160; lib: 2.30.2)
以上这三种报错
复现方式
引入后就报错,目前小程序在使用weui的同时还引入了tdesign-miniprogram的UI组件库,尚不知tdesign-miniprogram的组件库会不会对weui产生影响
版本信息
- 调式基础库:2.30.2
- 微信开发者工具版本:1.06.2301160
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 549
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wechat-miniprogram/weui-miniprogram
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
[BUG] Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 28/100
All issues in wechat-miniprogram/weui-miniprogram
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ontola/atomic-server#1625 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
melgarafael/DeskcommCRM#1451 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bot:ai-assisted component:compact-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
midnightntwrk/midnight-sdk#403 ·