1.引入common中的uni.css时报错问题

原因:uni.css里有src: url('./static/uni.ttf') format('truetype');,如图

 

 

 解决方法:将uni.ttf复制下放到static下

 

2.使用uni.chooseLocation的时候他会提示设置

解决方法:在manifest.json源码视图下的mp-weixin中添加相关设置,如图

        "permission": {
             "scope.userLocation": {
             "desc": "你的位置信息将用于小程序位置接口的效果展示"    
              }
        },

 

 

 

posted on 2019-12-05 20:10  双木之下藏倒影  阅读(845)  评论(0编辑  收藏  举报