You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
345 B
15 lines
345 B
<template>
|
|
<span class="text-[24px]">{{hello_world_text}}</span>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue'
|
|
import { getHelloWorld } from '@/addon/zhjw/api/hello_world'
|
|
|
|
const hello_world_text = ref('');
|
|
|
|
getHelloWorld().then(res => {
|
|
hello_world_text.value = res.data;
|
|
})
|
|
</script>
|
|
<style lang="scss" scoped></style>
|
|
|