💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
[TOC] ## watchDeep ``` import { watchDeep } from '@vueuse/core' const nestedObject = ref({ foo: { bar: { deep: 5 } } }) watchDeep(nestedObject, (obj) => { console.log(updated) }) onMounted(() => { nestedObject.value.foo.bar.deep = 10 }) ```