7***@qq.com
7***@qq.com
  • 发布:2019-04-11 18:09
  • 更新:2021-11-23 11:29
  • 阅读:2073

【报Bug】uni.chooseImage微信浏览器获取不到图片

分类:uni-app

uni.chooseImage在huilder跑可以拍照、在相册中获取图片,部署到服务器在微信浏览器中拍照、从相册中选取的图片都不显示 ,iOS、Android都不显示

2019-04-11 18:09 负责人:无 分享
已邀请:
7***@qq.com

7***@qq.com (作者)

[system] errorHandler TypeError: e.split is not a function
at i (chunk-vendors.0b6465e9.js:1)
at s (chunk-vendors.0b6465e9.js:1)
at a.$getRealPath (chunk-vendors.0b6465e9.js:1)
at a.realImagePath (chunk-vendors.0b6465e9.js:1)
at ei.get (chunk-vendors.0b6465e9.js:7)
at ei.evaluate (chunk-vendors.0b6465e9.js:7)
at a.realImagePath (chunk-vendors.0b6465e9.js:7)
at a._loadImage (chunk-vendors.0b6465e9.js:1)
at a.src (chunk-vendors.0b6465e9.js:1)
at ei.run (chunk-vendors.0b6465e9.js:7) a {_uid: 93, _isVue: true, $options: {…}, _renderProxy: a, _self: a, …}$attrs: (...)$children: []$createElement: ƒ (e,n,i,r)$el: uni-image$getRealPath: ƒ ()$listeners: (...)$options: {parent: a, _parentVnode: bt, propsData: {…}, _parentListeners: {…}, _renderChildren: undefined, …}$parent: a {_uid: 92, _isVue: true, $options: {…}, _renderProxy: a, _self: a, …}$refs: {content: div}$root: a {_uid: 61, _isVue: true, $options: {…}, _renderProxy: a, _self: a, …}$scopedSlots: {$stable: true, $key: undefined}$slots: {}$trigger: ƒ ()$vnode: bt {tag: "vue-component-15-VUniImage", data: {…}, children: undefined, text: undefined, elm: uni-image, …}availHeight: (...)lazyLoad: (...)mode: (...)modeStyle: (...)originalHeight: (...)originalWidth: (...)ratio: (...)realImagePath: (...)sizeFixed: (...)src: (...)page: {id: 5, path: "/pages/my/idPhotoPost", route: "pages/my/idPhotoPost", meta: {…}}_c: ƒ (e,n,i,r)_computedWatchers: {ratio: ei, realImagePath: ei, modeStyle: ei}_data: {ob: Mt}_directInactive: false_events: {}_fixSize: ƒ ()_getWidth: ƒ ()_hasHookEvent: false_inactive: null_isBeingDestroyed: false_isDestroyed: false_isMounted: true_isVue: true_loadImage: ƒ ()_props: {}_renderProxy: a {_uid: 93, _isVue: true, $options: {…}, _renderProxy: a, _self: a, …}_resize: ƒ ()_routerRoot: Si {_uid: 2, _isVue: true, $options: {…}, _renderProxy: Si, _self: Si, …}_self: a {_uid: 93, _isVue: true, $options: {…}, _renderProxy: a, _self: a, …}_staticTrees: null_uid: 93_vnode: bt {tag: "uni-image", data: {…}, children: Array(3), text: undefined, elm: uni-image, …}_watcher: ei {vm: a, deep: false, user: false, lazy: false, sync: false, …}_watchers: (6) [ei, ei, ei, ei, ei, ei]$data: (...)$isServer: (...)$page: (...)$props: (...)$route: (...)$router: (...)$ssrContext: (...)get $attrs: ƒ ()set $attrs: ƒ (e)get $listeners: ƒ ()set $listeners: ƒ (e)get availHeight: ƒ ()set availHeight: ƒ (t)get originalHeight: ƒ ()set originalHeight: ƒ (t)get originalWidth: ƒ ()set originalWidth: ƒ (t)get sizeFixed: ƒ ()set sizeFixed: ƒ (t)proto: Si callback for watcher ""


在谷歌浏览器上跑选择图片报这个错

7***@qq.com

7***@qq.com (作者)

。。。大佬们怎么解决

4***@qq.com

4***@qq.com

您好,请问解决了吗,我也遇到这个问题了

4***@qq.com

4***@qq.com

你好请问解决了么

该问题目前已经被锁定, 无法添加新回复