- 小程序使用物流查询组件报错?,页面空白
新手刚入行,下面是我遇到的问题,使用微信官方提供的 物流查询组件,报错不显示,导致页面空白,望大佬帮忙指正是哪里的问题,万分感谢 官方文档:https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/express/business/express_search.html 第三方插件已开通 [图片] app.json 配置 [图片] 调用页面使用插件 [图片] 手机真机小程端打开页面就报错 [图片] 红色的错误信息 Error during evaluating file "wx9ad912bf20548d92/0": {type: "string", description: "Error during evaluating file "wx9ad912bf20548d92/0": ", value: "Error during evaluating file "wx9ad912bf20548d92/0": "} Function(...) is not a function {type: "string", description: "Function(...) is not a function", value: "Function(...) is not a function"} TypeError: Function(...) is not a function at exports.modules (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3575:44382) at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239) at exports.modules (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3575:14598) at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239) at 15 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3569:10016) at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239) at 0 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3569:904) at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239) at 188 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3581:182) at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239) {type: "string", description: "TypeError: Function(...) is not a function\n at exports.modules (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3575:44382)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)\n at exports.modules (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3575:14598)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)\n at 15 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3569:10016)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)\n at 0 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3569:904)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)\n at 188 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3581:182)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)", value: "TypeError: Function(...) is not a function\n at exports.modules (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3575:44382)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)\n at exports.modules (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3575:14598)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)\n at 15 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3569:10016)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)\n at 0 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3569:904)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)\n at 188 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3581:182)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)"} Error during evaluating file "[object Object]": {type: "string", description: "Error during evaluating file "[object Object]": ", value: "Error during evaluating file "[object Object]": "} There is no component "pages/delivery-detail/main" for aliasing {type: "string", description: "There is no component "pages/delivery-detail/main" for aliasing", value: "There is no component "pages/delivery-detail/main" for aliasing"} Error: There is no component "pages/delivery-detail/main" for aliasing at Q.exportComponent (https://lib/WAServiceMainContext.js:1:193264) at https://lib/WAServiceMainContext.js:1:366263 at Array.forEach (<anonymous>) at yt.exportComponents (https://lib/WAServiceMainContext.js:1:366248) at Object.exportComponents (https://lib/WASubContext.js:1:491008) at Yr.o.publishDomainComponents (https://lib/WASubContext.js:1:499196) at https://lib/WASubContext.js:1:504270 at Array.forEach (<anonymous>) at x.flushQueue (https://lib/WASubContext.js:1:504248) at A (https://lib/WASubContext.js:1:507214) {type: "string", description: "Error: There is no component "pages/delivery-detail/main" for aliasing\n at Q.exportComponent (https://lib/WAServiceMainContext.js:1:193264)\n at https://lib/WAServiceMainContext.js:1:366263\n at Array.forEach (<anonymous>)\n at yt.exportComponents (https://lib/WAServiceMainContext.js:1:366248)\n at Object.exportComponents (https://lib/WASubContext.js:1:491008)\n at Yr.o.publishDomainComponents (https://lib/WASubContext.js:1:499196)\n at https://lib/WASubContext.js:1:504270\n at Array.forEach (<anonymous>)\n at x.flushQueue (https://lib/WASubContext.js:1:504248)\n at A (https://lib/WASubContext.js:1:507214)", value: "Error: There is no component "pages/delivery-detail/main" for aliasing\n at Q.exportComponent (https://lib/WAServiceMainContext.js:1:193264)\n at https://lib/WAServiceMainContext.js:1:366263\n at Array.forEach (<anonymous>)\n at yt.exportComponents (https://lib/WAServiceMainContext.js:1:366248)\n at Object.exportComponents (https://lib/WASubContext.js:1:491008)\n at Yr.o.publishDomainComponents (https://lib/WASubContext.js:1:499196)\n at https://lib/WASubContext.js:1:504270\n at Array.forEach (<anonymous>)\n at x.flushQueue (https://lib/WASubContext.js:1:504248)\n at A (https://lib/WASubContext.js:1:507214)"}
10-25 - 页面链接 404
https://developers.weixin.qq.com/doc/oplatform/service_market/provider_guideline/enter_guideline/sph_enter_guideline.html 接入流程视频号增值服务基于服务平台,服务平台使用了第三方平台的能力,第三方平台基于open平台,所以,服务商需提前了解【第三方平台简介】的相关知识。【第三方平台简介】这里的链接打开 404
03-01 - 获取不限制的小程序码参数 scene 字段能否把字符限制改大点,32 个字符不够用
https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/qr-code/getUnlimitedQRCode.html 获取不限制的小程序码参数 scene 字段能否把字符数限制放大点,32 个字符不够用,想在参数里面传一个 id 值,id 值是一个 md5 值,加上参数名已经远远超出 32位字符
2022-12-29 - 使用 Typescript 开发小程序,官方 SKD 好多 api 没有和现在文档保持一致
https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.showShareMenu.html 例如: wx.showShareMenu({ withShareTicket: true, menus:["shareAppMessage","shareTimeline"], // 使用 ts 开发时,不支持此参数 success: function (e) { console.log(e.errMsg); } }); 底层还有很多 ts SDK 方法没有支持到最新,没有和现有文档保持一致,这只是其中一个例子,期待能早日更新
2021-02-28