e 3 months ago
parent
commit
1b9fea6eda
1 changed files with 1 additions and 1 deletions
  1. 1 1
      15.vue3/project1/src/components/Demo15.vue

+ 1 - 1
15.vue3/project1/src/components/Demo15.vue

@@ -10,7 +10,7 @@ import { ref, reactive, isReactive } from "vue";
 import { type PersonInter, newPerson,happy } from "@/types/demo15";
 
 // let weather: string = "晴天";
-let weather:string = ref("晴天");
+let weather = ref<string>("晴天");
 
 
 function fn5<T extends happy>(a:T):T {