农学网 - vue
type: channel
link: https://nongxue.top/tag/vue/
items: [Vue3]Toast组件

[Vue3]Toast组件
type: item
date: 2022-07-20T14:17:00+08:00
description: 组件代码 Toast.vue<!-- * @Description: 提示组件 * @Version: 1.0.0 * @Autor: susu<nongxuewang@qq.com> * @Date: 2022-07-07 23:17:35 * @LastEditTime: 2022-07-20 14:06:09 --> {{ message }} 使用组件 <Toast v-if="toastData.showToast" :message="toastData.toastMessage" :status="toastData.status" />