From ee96f308f8494dc6a7a20f843f1630acf0159a0b Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Mon, 13 May 2024 19:46:41 +0800 Subject: [PATCH] refactor(ref): add annotation --- pages/reactivity/core/ref/ref.uvue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/reactivity/core/ref/ref.uvue b/pages/reactivity/core/ref/ref.uvue index 8fda37f..ce1c556 100644 --- a/pages/reactivity/core/ref/ref.uvue +++ b/pages/reactivity/core/ref/ref.uvue @@ -15,7 +15,7 @@ type Counter = { count : number } - // TODO: Android 待编译器支持通过泛型指定类型 + // TODO: Android 端暂不支持通过泛型指定类型,可通过 as 方式指定类型 const counter = ref({ count: 0 } as Counter) -- GitLab