你这种多组件处理同一对象的情况,可以使用`Pinia`来做啊。 // 定义store const useParamsStore = defineStore(); // 在每个组件里面直接使用 const params = useParamsStore()
阅读量:1
点赞量:0