const data = ref() 多个地方要调用这个 data 能不能调用时, 重新定义data.value 的类型呢
as 和 <>转换类型没用么 使用变量之前
as断言
你可以去了解一下泛型,或者泛型继承。