Update version.json to 0.0.141-vm

This commit is contained in:
Dede Fuji Abdul
2024-04-23 12:08:45 +07:00
parent 32ac2ad74b
commit efb641cdf2
21 changed files with 793 additions and 131 deletions

View File

@@ -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>