import { Toast } from 'vant' import { defineComponent, reactive } from 'vue' import { Vue3Lottie } from 'vue3-lottie' import AstronautJSON from '../components/o-full-refresh/datas/data.json' import baseEvent from '@/base-event' export default defineComponent({ name: 'App', setup() { const state = reactive({ showToast: false }) baseEvent.on('toastShow', () => { state.showToast = true }) baseEvent.on('toastClose', () => { state.showToast = false }) return () => ( <>
{{ message: () => ( <> {/*

加载中...

*/} ) }}
) } })