- 真机调试突然出现很多这种错误提示,不知道什么原因,如何解决?
runtime.js?devtools_ignore=true:1 ReferenceError: define is not defined at eval (map-styles.js:1) at eval (<anonymous>) at p (runtime.js?devtools_ignore=true:1) at runtime.js?devtools_ignore=true:1 at k (runtime.js?devtools_ignore=true:1) at w (runtime.js?devtools_ignore=true:1) at WebSocket.ke.onmessage (runtime.js?devtools_ignore=true:1)
2023-06-08 - 在使用复选框组件在循环中block有条件判断时为何无法正常显示?
代码片段如上:https://developers.weixin.qq.com/s/lbGxLnmf7vgC,打开片段工程后,在子目录下的代码文件中:index/TrainExamQuestionsDo/TrainExamQuestionsDo.wxml
2020-04-26 - 在使用复选框组件在有条件判断时无法渲染,界面显示不出来,如果去掉block wx:if又可以显示?
<view class="weui-media-box weui-media-box_text" wx:for="{{objectArray}}" wx:for-item="item" wx:key="unique"> <block wx:if="{{item.trainExamQuestions.questionstype == '1'}}"> <checkbox-group bindchange="checkboxChange"> <label class="weui-cell weui-check__label" wx:for="{{ckitems}}" wx:for-item="ckitem" wx:key="unique"> <view class="checkbox"> <checkbox id="{{ckitem.value}}" value="{{ckitem.value}}" bind="{{onChecked}}" checked="{{ckitem.checked}}"/> </view> <view class="weui-media-box__title weui-media-box__title_in-text">{{ckitem.name}}</view> </label> </checkbox-group> </block> </view>
2020-03-19