Uncaught TypeError: $gwx is not a function at app-service.js:19
分析:语法错误(单引号里面不能包含双引号)
<view @tap='onFocus' v-if='edit_machine == "0"'>
<text class='iconfont uc-bian-ji icon-2x'></text>
</view>
修改:双引号里面包含单引号
<view @tap='onFocus' v-if="edit_machine == '0'">
<text class='iconfont uc-bian-ji icon-2x'></text>
</view>
网友评论