mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-21 14:09:27 +00:00
Bugfix this => this.res
This commit is contained in:
@@ -18,7 +18,7 @@ export default {
|
||||
},
|
||||
photo_url() {
|
||||
if (this.mode != 'simple')
|
||||
return this.photo_url;
|
||||
return this.res.photo_url;
|
||||
if (this.res.foto)
|
||||
return 'data:image/jpeg;base64,' + this.res.foto;
|
||||
return null;
|
||||
|
||||
@@ -13,7 +13,7 @@ export default {
|
||||
computed: {
|
||||
photo_url() {
|
||||
if (this.mode != 'simple')
|
||||
return this.photo_url;
|
||||
return this.res.photo_url;
|
||||
if (this.res.foto)
|
||||
return 'data:image/jpeg;base64,' + this.res.foto;
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user