5***@qq.com
5***@qq.com
  • 发布:2020-04-05 16:04
  • 更新:2020-11-27 14:36
  • 阅读:782

Card 卡片组件在编译成H5项目时候报错

分类:uni-app
<uni-card title="DCloud" is-full="true" thumbnail="https://img-cdn-qiniu.dcloud.net.cn/new-page/uni.png" extra="2018.12.12" >  
 <image src="https://img-cdn-qiniu.dcloud.net.cn/uniapp/images/shuijiao.jpg" style="width: 100%;"></image>  
</uni-card>

上述demo 是官方提供的,自己在项目中引用报错,在小程序中没有问题, 但是在浏览器中报错

2020-04-05 16:04 负责人:无 分享
已邀请:
x***@qq.com

x***@qq.com - 疑问?的小纳?

编译器版本是多少

保持乐观

保持乐观

的确是会提示错误啊,但是还能正常运行

14:35:15.168 [Vue warn]: Invalid prop: type check failed for prop "isShadow". Expected Boolean, got String with value "true".

found in

---> <UniCard> at components/uni-card/uni-card.vue
<Root>

最新的HB

该问题目前已经被锁定, 无法添加新回复