Update version.json to 0.0.141-vm
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, computed } from 'vue'
|
||||
import { RichSelect } from '@flavorly/vanilla-components'
|
||||
import { ref, computed, watch } from 'vue';
|
||||
import { RichSelect } from '@flavorly/vanilla-components';
|
||||
|
||||
const props = defineProps({
|
||||
placeholder: {
|
||||
@@ -27,12 +27,10 @@ const data = computed(() =>
|
||||
)
|
||||
const selected = ref(data.value[props.indexSelected].id)
|
||||
|
||||
// watch(
|
||||
// () => props.selected,
|
||||
// (value: any) => {
|
||||
// selected.value = value.id
|
||||
// }
|
||||
// )
|
||||
watch(props.selected.id, (value: any) => {
|
||||
console.log('id has changed', value)
|
||||
selected.value = value
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
Reference in New Issue
Block a user