Commit f1249928 authored by 罗超's avatar 罗超

修改大小后缀

parent 478b2046
...@@ -633,8 +633,8 @@ ...@@ -633,8 +633,8 @@
if (x.data.resultCode == 1) { if (x.data.resultCode == 1) {
let data = x.data.data let data = x.data.data
this.dataId = data.id, this.dataId = data.id,
this.bg = data.pictureUrl + '?x-oss-process=image/resize,w_470' this.bg = data.pictureUrl + '?width=470'
this.st = data.samplePicturesUrl + '?x-oss-process=image/resize,w_470' this.st = data.samplePicturesUrl + '?width=470'
this.templateId = data.baseAdvertisingID this.templateId = data.baseAdvertisingID
this.nodes = JSON.parse(data.content) this.nodes = JSON.parse(data.content)
this.nodes.forEach(y => { this.nodes.forEach(y => {
...@@ -737,8 +737,8 @@ ...@@ -737,8 +737,8 @@
//this.$message.success('已自动保存数据') //this.$message.success('已自动保存数据')
}, },
chosenbg(x) { chosenbg(x) {
this.bg = x.PictureUrl + '?x-oss-process=image/resize,w_470' this.bg = x.PictureUrl + '?width=470'
this.st = x.SamplePicturesUrl + '?x-oss-process=image/resize,w_470' this.st = x.SamplePicturesUrl + '?width=470'
this.templateId = x.ID this.templateId = x.ID
let reg = /^http(s)?:\/\/(.*?)\// let reg = /^http(s)?:\/\/(.*?)\//
let getBlob = this.getFileBlob(x.PictureUrl.replace(reg, ''), 'aa.jpg') let getBlob = this.getFileBlob(x.PictureUrl.replace(reg, ''), 'aa.jpg')
......
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