美文网首页
TypeError: $gwx is not a functio

TypeError: $gwx is not a functio

作者: Antlers777 | 来源:发表于2022-06-20 22:10 被阅读0次

uniapp 运行到 微信开发者工具

报错:

TypeError: $gwx is not a function

原因

<template slot="footer"  v-if="item.img">
    <image class="item-footer-img":src="item.img" mode="widthFix"></image>
</template>

改成

<template slot="footer" >
    <image class="item-footer-img" v-if="item.img" :src="item.img" mode="widthFix"></image>
</template>

相关文章

网友评论

      本文标题:TypeError: $gwx is not a functio

      本文链接:https://www.haomeiwen.com/subject/unxsvrtx.html