1. 接收后端接口数据用ref定义变量比较合适还是用reactive比较合适? 2. 类型的默认值怎么处理? undefined?null?{} const loginUser = reactive({}); const loginUser = ref({}); const loginUser = reactive(); const loginUser = reactive(null);
阅读量:321
点赞量:15