mirror of
https://gitee.com/niucloud-team/niucloud.git
synced 2026-11-19 09:30:30 +00:00
16 lines
346 B
Vue
16 lines
346 B
Vue
<template>
|
|
<span class="text-[24px]">{{hello_world_text}}</span>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue'
|
|
import { getHelloWorld } from '@/addon/relay/api/hello_world'
|
|
|
|
const hello_world_text = ref('');
|
|
|
|
getHelloWorld().then(res => {
|
|
hello_world_text.value = res.data;
|
|
})
|
|
</script>
|
|
<style lang="scss" scoped></style>
|