29891
This commit is contained in:
@@ -170,7 +170,8 @@
|
||||
this.$http.post('/admin/file/add2?type=image', formData).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.linkTo(`./Watermark?url=${res.data.url}&albumId=${this.id}`)
|
||||
|
||||
} else {
|
||||
this.$u.toast(res.msg)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -162,6 +162,8 @@
|
||||
this.$http.post('/admin/file/add2?type=image', formData).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.linkTo(`./Watermark?url=${res.data.url}`)
|
||||
} else {
|
||||
this.$u.toast(res.msg)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -152,6 +152,8 @@
|
||||
type: 'img',
|
||||
value: res.data.url
|
||||
})
|
||||
} else {
|
||||
this.$u.toast(res.msg)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -161,6 +161,8 @@
|
||||
type: 'img',
|
||||
value: res.data.url
|
||||
})
|
||||
} else {
|
||||
this.$u.toast(res.msg)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -181,6 +181,8 @@
|
||||
type: 'img',
|
||||
value: res.data.url
|
||||
})
|
||||
} else {
|
||||
this.$u.toast(res.msg)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -152,6 +152,8 @@
|
||||
type: 'img',
|
||||
value: res.data.url
|
||||
})
|
||||
} else {
|
||||
this.$u.toast(res.msg)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user