错误:Mixed Content: The page at 'https://localhost:44336/MENU' was loaded over HTTPS, but requested an insecure script 'http://developer-dev.api.bimbox.cn/viewing/v1/viewers/obv.min.js'. This request has been blocked 解决方案:将http的地址,改成https就可以了
如下 定义了一个外部js文件,其中有一个function import lunaCommon from '../lunaCommon.js'; var ctx = wx.getStorageSync("ctx"); var filter = "/ms-code"; var apis = { //根据sc获取发货单 "findDispatchBill": function (data, success) { var url = ctx + filt