Browse Source

chore: enum

feige996 11 months ago
parent
commit
8f584e027f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/pages/index/index.vue

+ 2 - 1
src/pages/index/index.vue

@@ -46,7 +46,8 @@ const description = ref(
 )
 // 测试 uni API 自动引入
 onLoad(() => {
-  console.log(author)
+  console.log(author.value)
+  // 测试 enum
   console.log(TestEnum.A)
 })
 </script>