Commit b1cf7aef authored by 潘永坪's avatar 潘永坪

上传图片bug处理

parent ba529aec
...@@ -54,9 +54,7 @@ ...@@ -54,9 +54,7 @@
// 监听从裁剪页发布的事件,获得裁剪结果 // 监听从裁剪页发布的事件,获得裁剪结果
uni.$on('uAvatarCropper', path => { uni.$on('uAvatarCropper', path => {
var that = this var that = this
var url = "http://manager.pangdly.com/" var url = "https://manager.pangdly.com/"
uni.uploadFile({ // s上传图片 uni.uploadFile({ // s上传图片
url: url + 'upload/file/newUpload', url: url + 'upload/file/newUpload',
filePath: path, filePath: path,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment