Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.
發(fā)現(xiàn)是在子組件沒引用 onMounted 的問題
import { reactive, ref, computed, onMounted } from "vue";
onMounted(() => {
console.log("子組件");
});