vue3中下面这段代码是什么意思? 看不懂

47 阅读1分钟
watchEffect(() => {
  props.chartData && initCharts();
});