收藏
回答

小程序使用物流查询组件报错?,页面空白

AppID
wx10816502121f09e5

新手刚入行,下面是我遇到的问题,使用微信官方提供的 物流查询组件,报错不显示,导致页面空白,望大佬帮忙指正是哪里的问题,万分感谢

官方文档: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)"}
回答关注问题邀请回答
收藏
登录 后发表内容