版本都升级倒2.10.2了,
wx.getSetting({
withSubscriptions: true,
success(res) {
console.log(res)
if (res.subscriptionsSetting.mainSwitch) {
if (res.subscriptionsSetting.itemSettings != null) {
console.log(res.subscriptionsSetting.itemSettings)
console.log(res.subscriptionsSetting.itemSettings.qdu2htQI9ZPQua3fcQWT-KyVXWONj-mMoJWsPa_XTXc)
thirdScriptError
KyVXWONj is not defined;at api operateWXData success callback function
ReferenceError: KyVXWONj is not defined
获取模板信息验证,但是中划线这里报错,不能识别。请问如何处理?谢谢
倒数第二行打印正常:
{qdu2htQI9ZPQua3fcQWT-KyVXWONj-mMoJWsPa_XTXc: "accept"}
itemSettings['qdu2htQI9ZPQua3fcQWT-KyVXWONj-mMoJWsPa_XTXc']