Commit 7591d052 authored by zhoucong's avatar zhoucong

提交

parent 90661e45
......@@ -54,12 +54,9 @@
// 监听从裁剪页发布的事件,获得裁剪结果
uni.$on('uAvatarCropper', path => {
var that = this
var url = ""
if (process.env.NODE_ENV === 'development') { //开发环境
url = "http://192.168.0.213:7888/"
} else {
url = "http://manager.pangdly.com/"
}
var url = "http://manager.pangdly.com/"
uni.uploadFile({ // s上传图片
url: url + 'upload/file/newUpload',
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