Commit 9c9ed689 by 张杰

还原图片上传地址

1 parent 6143101e
...@@ -64,9 +64,7 @@ export default { ...@@ -64,9 +64,7 @@ export default {
immediate: true, immediate: true,
}, },
}, },
mounted() { mounted() {},
},
methods: { methods: {
// 监听选择图片 // 监听选择图片
onChange(file, fileList) { onChange(file, fileList) {
...@@ -108,9 +106,8 @@ export default { ...@@ -108,9 +106,8 @@ export default {
// 上传图片到服务器 // 上传图片到服务器
uploadImage(params = {}, noSignAttr = ["file"]) { uploadImage(params = {}, noSignAttr = ["file"]) {
let _this = this; let _this = this;
// const fileUploadURL = const fileUploadURL = "https://didicb.glsx.com.cn" || localStorage.getItem("FILE_UPLOAD_URL");
// "https://didicb.glsx.com.cn" || localStorage.getItem("FILE_UPLOAD_URL"); // const fileUploadURL = 'http://gfs.dev.glsx.com.cn/' // 给java后台测试用的地址
const fileUploadURL = 'http://gfs.dev.glsx.com.cn/'
params.source = "glsx-oss-carowner"; params.source = "glsx-oss-carowner";
params.app_key = "48e5e13229b82c1b4e6e8c96151f0637"; params.app_key = "48e5e13229b82c1b4e6e8c96151f0637";
params.timestamp = new Date().getTime(); 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!