uni-app打包app tabbar图片问题

在没有云打包之前,在h5端,小程序端,手机端,全部都正常.但是打包成app了之后发现,tabbar的图标没有显示出来
我之前的tabbar是这样写的

"list": [{"pagePath": "pages/home/home","text": "迷妮","iconPath": "./static/icon/home-default.png","selectedIconPath": "./static/icon/home-acitve.png"},{"pagePath": "pages/msg/msg","text": "解读所","iconPath": "./static/icon/news-default.png","selectedIconPath": "./static/icon/news-active.png"},{"pagePath": "pages/profile/profile","text": "秘密基地","iconPath": "./static/icon/my-default.png","selectedIconPath": "./static/icon/my-active.png"}]

修改成

"list": [{"pagePath": "pages/home/home","text": "迷妮","iconPath": "static/icon/home-default.png","selectedIconPath": "static/icon/home-acitve.png"},{"pagePath": "pages/msg/msg","text": "解读所","iconPath": "static/icon/news-default.png","selectedIconPath": "static/icon/news-active.png"},{"pagePath": "pages/profile/profile","text": "秘密基地","iconPath": "static/icon/my-default.png","selectedIconPath": "static/icon/my-active.png"}]

再次打包就正常显示图标了
具体是什么原因,不太清楚


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部