WIP Подтянула картинки из стора
This commit is contained in:
@@ -88,9 +88,12 @@ export default {
|
||||
computed: {
|
||||
value: {
|
||||
get() {
|
||||
return this.type === "date"
|
||||
? this.modelValue?.toISOString().split("T")[0]
|
||||
: this.modelValue;
|
||||
if (this.type === "date") {
|
||||
return this.modelValue
|
||||
? this.modelValue?.toISOString().split("T")[0]
|
||||
: null;
|
||||
}
|
||||
return this.modelValue;
|
||||
},
|
||||
set(value) {
|
||||
this.type === "date"
|
||||
|
||||
@@ -57,7 +57,7 @@ export default {
|
||||
},
|
||||
},
|
||||
created() {
|
||||
if (this.value.photo) {
|
||||
if (this.value?.photo) {
|
||||
this.image = this.value.photo;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user