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('添加成功') + }} > 添加