computed 类型声明需要用泛型
const a: Xx[] = computed(()=>{})
const a = computed<Xx[]>(()=>{})
直接使用时需要加上 .value 例如
a.value
HTML 中可直接使用
:xx="a"