- 使用 skyline 后,为何报错 n.indexOf is not a function?
TypeError: r.indexOf is not a function at U._$resolvePrefixes (WAServiceMainContext.js?t=wechat&s=1734723019716&v=3.7.2:1) at U._$fasterAddUpdateResolvedNames (WAServiceMainContext.js?t=wechat&s=1734723019716&v=3.7.2:1) at U.setClassNames (WAServiceMainContext.js?t=wechat&s=1734723019716&v=3.7.2:1) at Ke.setNodeClass (WAServiceMainContext.js?t=wechat&s=1734723019716&v=3.7.2:1) at c (WAServiceMainContext.js?t=wechat&s=1734723019716&v=3.7.2:1) at o (WAServiceMainContext.js?t=wechat&s=1734723019716&v=3.7.2:1) at Qe.createNativeNodeWithInit (WAServiceMainContext.js?t=wechat&s=1734723019716&v=3.7.2:1) at Qe.createComponent (WAServiceMainContext.js?t=wechat&s=1734723019716&v=3.7.2:1) at it.createCommonElement (WAServiceMainContext.js?t=wechat&s=1734723019716&v=3.7.2:1) at WAServiceMainContext.js?t=wechat&s=1734723019716&v=3.7.2:1(env: macOS,mp,1.06.2409140; lib: 3.7.2)
12-21 - wx.showModal 按钮的颜色可以随 Dark Mode 动态切换吗?
比如按钮颜色白天为 #000,晚上为 #fff。 正常进去可以,但是在 Dark Mode 切换的一瞬间,按钮的颜色无法动态切换。 我理解 onThemeChange 应该也不足以应付这种情况。
2021-01-30