variables stuff seem to be at least somewhat working
This commit is contained in:
parent
8725de3e91
commit
756ea63b67
6 changed files with 51 additions and 14 deletions
|
|
@ -45,6 +45,7 @@ export default {
|
|||
],
|
||||
emits: ['update:modelValue', 'subShadowSelected'],
|
||||
data () {
|
||||
console.log('MODEL VALUE', this.modelValue, this.fallback)
|
||||
return {
|
||||
selectedId: 0,
|
||||
// TODO there are some bugs regarding display of array (it's not getting updated when deleting for some reason)
|
||||
|
|
@ -60,6 +61,9 @@ export default {
|
|||
Popover,
|
||||
ComponentPreview
|
||||
},
|
||||
beforeUpdate () {
|
||||
this.cValue = (this.modelValue ?? this.fallback ?? []).map(toModel)
|
||||
},
|
||||
computed: {
|
||||
selectedType: {
|
||||
get () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue