|
|
@@ -31,7 +31,6 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
-import { TestEnum } from '@/typings'
|
|
|
import PLATFORM from '@/utils/platform'
|
|
|
|
|
|
defineOptions({
|
|
|
@@ -46,9 +45,7 @@ const description = ref(
|
|
|
)
|
|
|
// 测试 uni API 自动引入
|
|
|
onLoad(() => {
|
|
|
- console.log(author.value)
|
|
|
- // 测试 enum
|
|
|
- console.log(TestEnum.A)
|
|
|
+ console.log('项目作者:', author.value)
|
|
|
})
|
|
|
</script>
|
|
|
|