reactive不用,formState.value,可以直接访问 import { ref, reactive, computed } from "vue"; const formState = reactive({ limit: 20, offset: 0, }); const offsetPlusOne = computed(() => { return formState.offset + 1; });
阅读量:1
点赞量:0