<template>
  <div>{{ message }}</div>
</template>
<script setup lang="ts">
import { Environment, axios } from '@/platform';

const response = await axios.get(Environment.apiContextPath('/api/sample/action1'));
const message = response.data.message;
</script>
