Commit 9c9ed689 by 张杰

还原图片上传地址

1 parent 6143101e
......@@ -64,9 +64,7 @@ export default {
immediate: true,
},
},
mounted() {
},
mounted() {},
methods: {
// 监听选择图片
onChange(file, fileList) {
......@@ -108,9 +106,8 @@ export default {
// 上传图片到服务器
uploadImage(params = {}, noSignAttr = ["file"]) {
let _this = this;
// const fileUploadURL =
// "https://didicb.glsx.com.cn" || localStorage.getItem("FILE_UPLOAD_URL");
const fileUploadURL = 'http://gfs.dev.glsx.com.cn/'
const fileUploadURL = "https://didicb.glsx.com.cn" || localStorage.getItem("FILE_UPLOAD_URL");
// const fileUploadURL = 'http://gfs.dev.glsx.com.cn/' // 给java后台测试用的地址
params.source = "glsx-oss-carowner";
params.app_key = "48e5e13229b82c1b4e6e8c96151f0637";
params.timestamp = new Date().getTime();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!