From 7e68ebb5057275db12d7275f5df53b5a58961178 Mon Sep 17 00:00:00 2001 From: expdsn <18111002318@163.com> Date: Mon, 2 Dec 2024 18:30:50 +0800 Subject: [PATCH] save --- src/layout/adder/WidgetAdder.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/layout/adder/WidgetAdder.tsx b/src/layout/adder/WidgetAdder.tsx index fbba6ab..6e782c9 100644 --- a/src/layout/adder/WidgetAdder.tsx +++ b/src/layout/adder/WidgetAdder.tsx @@ -5,6 +5,7 @@ import clsx from 'clsx' import { AddToToken } from './AdderPage' import { v4 as uuid } from 'uuid' import useAdderPageStore from './useAdderPageStore' +import { globalToast } from '@/main' export const WidgetItem = defineComponent({ props: { @@ -105,6 +106,8 @@ export const WidgetItem = defineComponent({ }, addTo?.value ) + globalToast.success('添加成功') + }} > 添加