- 為什麼不能上傳圖片?
[图片] [图片]
2022-03-15 - 我為什麼不能上傳圖片?
[图片] 然後我把這個的文字全部copy過來 [图片] WAServiceMainContext.js:2 [system] WeChatLib: 2.22.0 (2022.2.14 23:40:30) WAServiceMainContext.js:2 [Event] 21 listeners of event AppRoute have been added, possibly causing memory leak. q @ WAServiceMainContext.js:2 Y._on @ WAServiceMainContext.js:2 Y.on @ WAServiceMainContext.js:2 internalOnMethod @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 g @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 (anonymous) @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 (anonymous) @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 (anonymous) @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 x @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 (anonymous) @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 (anonymous) @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 emit @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 F @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 S @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 (anonymous) @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 v @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 E @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 emit @ WAServiceMainContext.js:2 W @ WAServiceMainContext.js:2 w @ WAServiceMainContext.js:2 c @ VM8 asdebug.js:1 (anonymous) @ instanceframe?s=1647138839257&autoload:11 (anonymous) @ WAServiceMainContext.js:2 n @ WAServiceMainContext.js:2 Promise.then (async) o @ WAServiceMainContext.js:2 e.exports @ WAServiceMainContext.js:2 re @ WAServiceMainContext.js:2 ce @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 open @ assubloader.js:1 setContextFrameReady @ assubloader.js:1 onDidContextFrameReady @ assubloader.js:1 setReady @ VM11 subasdebug.js:1 t.__subcontext_ready_to_evaluate__ @ VM11 subasdebug.js:1 (anonymous) @ appContext?id=ifr-1_1:6 WAServiceMainContext.js:2 [system] Subpackages: N/A WAServiceMainContext.js:2 [system] LazyCodeLoading: false [sitemap 索引情况提示] 根据 sitemap 的规则[0],当前页面 [pages/index/index] 将被索引 WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 App: onLaunch have been invoked WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 App: onShow have been invoked WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Register: pages/index/index WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Register: pages/dogedit/dogedit WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Register: pages/upload/upload WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Register: pages/dogdet/dogdet WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Register: pages/dogpic/dogpic WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Register: pages/dogaddpre/dogaddpre WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Register: pages/dogaddcomp/dogaddcomp WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Register: pages/myinfo/myinfo WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Register: pages/feedlist/feedlist WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Register: pages/doglist/doglist WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Register: pages/dogfriend/dogfriend WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Register: pages/aboutwang/aboutwang WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Register: pages/greeting-card/greeting-card WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Register: pages/greeting-card-add/greeting-card-add WAServiceMainContext.js:2 [system] Launch Time: 5294 ms WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 On app route: pages/index/index VM72:18 WXMLRT_$gwx:./pages/index/index.wxml:block:8:8: wx:key="" does not look like a valid key name. _wp @ VM72:18 m11 @ VM72:1873 (anonymous) @ VM72:1943 Vr @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pn.create @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 b.prepare @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 b._advancedCreate @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 b.createWithGenerics @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 ta @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 _a @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 create @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 jt @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 (anonymous) @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Wt @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 (anonymous) @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 (anonymous) @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Y.emit @ WAServiceMainContext.js:2 emit @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 Y.emit @ WAServiceMainContext.js:2 emit @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 c @ VM8 asdebug.js:1 l @ VM8 asdebug.js:1 (anonymous) @ VM8 asdebug.js:1 g @ VM8 asdebug.js:1 f @ VM8 asdebug.js:1 (anonymous) @ VM8 asdebug.js:1 _ws.onmessage @ VM8 asdebug.js:1 WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Update view with init data WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pages/index/index: onLoad have been invoked WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pages/index/index: onShow have been invoked index.js? [sm]:41 CACHE.isIndexFirstIn==true [WXML Runtime warning] ./pages/index/index.wxml wx:key="" does not look like a valid key name. 6 | </view> 7 | <view class="page__bd"> > 8 | <block wx:for="{{petList}}" wx:for-item="item" wx:key=""> | ^ 9 | <view class="item_group" data-petid="{{item.id}}" bindtap="navToPetDet"> 10 | <view class="pet_avatar"> 11 | <image src="{{item.avatar}}"></image> WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Invoke event onReady in page: pages/index/index WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pages/index/index: onReady have been invoked VM8 asdebug.js:1 Sun Mar 13 2022 10:34:04 GMT+0800 (中国标准时间) 配置中关闭合法域名、web-view(业务域名)、TLS 版本以及 HTTPS 证书检查 VM8 asdebug.js:1 工具未校验合法域名、web-view(业务域名)、TLS 版本以及 HTTPS 证书。 checkUrl @ VM8 asdebug.js:1 (anonymous) @ VM8 asdebug.js:1 b @ VM8 asdebug.js:1 createRequestTask @ VM8 asdebug.js:1 invoke @ VM8 asdebug.js:1 invoke @ WAServiceMainContext.js:2 ce @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 Bt @ WAServiceMainContext.js:2 bp @ WAServiceMainContext.js:2 _p @ WAServiceMainContext.js:2 s @ WAServiceMainContext.js:2 mp @ WAServiceMainContext.js:2 Pg @ WAServiceMainContext.js:2 createRequestTask @ WAServiceMainContext.js:2 execute @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 t.<computed> @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 l @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 (anonymous) @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 value @ apihook.js?t=wechat&s=1647138820483&v=fdbf07308165518eff1d71ab633264c7:1 (anonymous) @ httpService.js? [sm]:11 $ @ WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 HttpService @ httpService.js? [sm]:10 wxLogin @ remoteDataService.js? [sm]:4 success @ index.js? [sm]:18 s.<computed> @ WAServiceMainContext.js:2 Zd @ WAServiceMainContext.js:2 success @ WAServiceMainContext.js:2 d @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 a @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 Ct @ WAServiceMainContext.js:2 (anonymous) @ WAServiceMainContext.js:2 (anonymous) @ VM8 asdebug.js:1 C @ VM8 asdebug.js:1 (anonymous) @ VM8 asdebug.js:1 g @ VM8 asdebug.js:1 f @ VM8 asdebug.js:1 (anonymous) @ VM8 asdebug.js:1 _ws.onmessage @ VM8 asdebug.js:1 Show 16 more frames httpService.js? [sm]:34 请求失败的地址:http://192.168.3.116/api/wx/login/doLogin httpService.js? [sm]:35 失败后的信息:[object Object] [sitemap 索引情况提示] 根据 sitemap 的规则[0],当前页面 [pages/dogaddpre/dogaddpre] 将被索引 WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 On app route: pages/dogaddpre/dogaddpre WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pages/index/index: onHide have been invoked WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Update view with init data WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pages/dogaddpre/dogaddpre: onLoad have been invoked WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pages/dogaddpre/dogaddpre: onShow have been invoked WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Invoke event onReady in page: pages/dogaddpre/dogaddpre WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pages/dogaddpre/dogaddpre: onReady have been invoked [sitemap 索引情况提示] 根据 sitemap 的规则[0],当前页面 [pages/dogedit/dogedit] 将被索引 WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 On app route: pages/dogedit/dogedit WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pages/dogaddpre/dogaddpre: onHide have been invoked WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Update view with init data WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pages/dogedit/dogedit: onLoad have been invoked dogedit.js? [sm]:19 Return value dogedit.js? [sm]:20 {} dogedit.js? [sm]:21 {} dogedit.js? [sm]:23 endDate 2022-03-13 WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pages/dogedit/dogedit: onShow have been invoked WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Invoke event onReady in page: pages/dogedit/dogedit WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pages/dogedit/dogedit: onReady have been invoked WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pages/dogedit/dogedit: onHide have been invoked WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 App: onHide have been invoked WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 App: onShow have been invoked WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pages/dogedit/dogedit: onShow have been invoked dogedit.js? [sm]:132 {birthday: "2017-01-01"} dogedit.js? [sm]:133 {birthdayOk: true} dogedit.js? [sm]:139 go value dogedit.js? [sm]:140 {src: "http://tmp/7xLqYKTXEeItf437864a98c42f04b332f0d3dce247dd.jpg", pet: "{"birthday":"2017-01-01"}", petVali: "{"birthdayOk":true}"} [sitemap 索引情况提示] 根据 sitemap 的规则[0],当前页面 [pages/upload/upload?src=http%3A%2F%2Ftmp%2F7xLqYKTXEeItf437864a98c42f04b332f0d3dce247dd.jpg&pet=%7B%22birthday%22%3A%222017-01-01%22%7D&petVali=%7B%22birthdayOk%22%3Atrue%7D] 将被索引 WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 On app route: pages/upload/upload WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pages/dogedit/dogedit: onUnload have been invoked WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Update view with init data WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pages/upload/upload: onLoad have been invoked upload.js? [sm]:93 {"birthday":"2017-01-01"} upload.js? [sm]:94 {"birthdayOk":true} upload.js? [sm]:101 {birthday: "2017-01-01"} upload.js? [sm]:102 {birthdayOk: true} upload.js? [sm]:105 height===413 upload.js? [sm]:108 wecropper is ready for work! upload.js? [sm]:125 before canvas draw,i can do something upload.js? [sm]:126 current canvas context: pc {actions: Array(0), path: Array(0), subpath: Array(0), webviewId: 5, canvasId: "cropper", …} upload.js? [sm]:129 height===413 WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pages/upload/upload: onShow have been invoked we-cropper.js? [sm]:252 10 56.5 upload.js? [sm]:125 before canvas draw,i can do something upload.js? [sm]:126 current canvas context: pc {actions: Array(1), path: Array(0), subpath: Array(3), webviewId: 5, canvasId: "cropper", …} upload.js? [sm]:120 picture loaded upload.js? [sm]:121 current canvas context: pc {actions: Array(0), path: Array(0), subpath: Array(3), webviewId: 5, canvasId: "cropper", …} [pages/upload/upload] canvas 2d 接口支持同层渲染且性能更佳,建议切换使用。详见文档:https://developers.weixin.qq.com/miniprogram/dev/component/canvas.html#Canvas-2D-%E7%A4%BA%E4%BE%8B%E4%BB%A3%E7%A0%81 WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 Invoke event onReady in page: pages/upload/upload WASubContext.js?t=wechat&s=1647138820483&v=2.22.0:2 pages/upload/upload: onReady have been invoked httpService.js? [sm]:75 请求失败的地址:http://192.168.3.116/api/wx/uploadFile/fileUploadAction httpService.js? [sm]:76 失败后的信息:[object Object]
2022-03-13 - 勾選了不校驗,還是不能加載圖片?
[图片]
2022-02-27 - 為什麼不能上傳圖片?
[图片]
2022-02-27