19 lines
414 B
Vue
19 lines
414 B
Vue
|
<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>
|