test_lgq/niucloud/addon/carmi/admin/views/home/index.vue

19 lines
414 B
Vue
Raw Normal View History

2024-01-24 17:36:08 +08:00
<template>
<span class="text-[20px]">{{hello_world_text}}</span>
卡密系统
</template>
<script lang="ts" setup>
import { ref } from 'vue'
import { getHelloWorld } from '@/addon/carmi/api/hello_world'
const hello_world_text = ref('');
const getHelloWorldInfo = async () => {
hello_world_text.value = await (await getHelloWorld()).data
}
getHelloWorldInfo()
</script>
<style lang="scss" scoped>
</style>