Commit 154d5ba5 authored by 黄奎's avatar 黄奎

js修改

parent e4996734
...@@ -911,7 +911,8 @@ export default { ...@@ -911,7 +911,8 @@ export default {
} else if (type === 'h') { } else if (type === 'h') {
poise = 'm_h' poise = 'm_h'
} }
return url + '/image/index?filePath=' + path.replace('http://192.168.2.214:8130', '').replace('http://imgfile.oytour.com', '').split('?')[0] + '&process=resize,' + poise + ',w_' + w + ',h_' + h; var newpath= path.replace('http://192.168.20.214:8130', '').replace('https://imgfile.oytour.com', '').replace('https://imgfile.oytour.com', '').split('?')[0];
return url + '/image/index?filePath=' +newpath + '&process=resize,' + poise + ',w_' + w + ',h_' + h;
} }
Vue.prototype.uploadSelfBlob = function (path, files, successCall) { Vue.prototype.uploadSelfBlob = function (path, files, successCall) {
let that = this; let that = this;
......
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