Image size fix
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
d589dd435c
commit
84cef1949b
|
@ -57,7 +57,7 @@ class Controller extends Descriptor {
|
||||||
onUploadResponse() {
|
onUploadResponse() {
|
||||||
const timestamp = new Date().getTime();
|
const timestamp = new Date().getTime();
|
||||||
const src = this.$rootScope.imagePath('user', '520x520', this.worker.id);
|
const src = this.$rootScope.imagePath('user', '520x520', this.worker.id);
|
||||||
const zoomSrc = this.$rootScope.imagePath('user', '1600x900', this.worker.id);
|
const zoomSrc = this.$rootScope.imagePath('user', '1600x1600', this.worker.id);
|
||||||
const newSrc = `${src}&t=${timestamp}`;
|
const newSrc = `${src}&t=${timestamp}`;
|
||||||
const newZoomSrc = `${zoomSrc}&t=${timestamp}`;
|
const newZoomSrc = `${zoomSrc}&t=${timestamp}`;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue