DS
Не уверен что мне этот вариант зайдет, не хочу зависимости тянуть лишние
Size: a a a
DS
DS
DS
DS
DS
MK
DS
E
GP
D
SL
GP
<template>не улавливаю связи
<input v-model="value_computed" />
</template>
<script>
exports default {
data() {
return {
value: null,
};
},
computed: {
...mapGetters([
'some'
]),
value_computed() {
return this.value_function();
}
},
methods: {
value_function() {
return {
get() {
return this.some; // ?
},
set(value) {
// a тут что должно быть?
},
}
}
},
}
</script>
SL
<template>не улавливаю связи
<input v-model="value_computed" />
</template>
<script>
exports default {
data() {
return {
value: null,
};
},
computed: {
...mapGetters([
'some'
]),
value_computed() {
return this.value_function();
}
},
methods: {
value_function() {
return {
get() {
return this.some; // ?
},
set(value) {
// a тут что должно быть?
},
}
}
},
}
</script>
GP
SL
SL
GP
SL
GP
GP