Deep watch option changes

This commit is contained in:
rijkvanzanten
2021-05-26 22:58:30 -04:00
parent aa9157778b
commit 7a81340271

View File

@@ -33,7 +33,7 @@ export default defineComponent({
const chartEl = ref();
const chart = ref<ApexCharts>();
watch(props.options, fetchData, { deep: true });
watch(() => props.options, fetchData, { deep: true });
fetchData();