This commit is contained in:
expdsn 2024-12-02 18:30:50 +08:00
parent 303e1166a8
commit 7e68ebb505
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@ import clsx from 'clsx'
import { AddToToken } from './AdderPage' import { AddToToken } from './AdderPage'
import { v4 as uuid } from 'uuid' import { v4 as uuid } from 'uuid'
import useAdderPageStore from './useAdderPageStore' import useAdderPageStore from './useAdderPageStore'
import { globalToast } from '@/main'
export const WidgetItem = defineComponent({ export const WidgetItem = defineComponent({
props: { props: {
@ -105,6 +106,8 @@ export const WidgetItem = defineComponent({
}, },
addTo?.value addTo?.value
) )
globalToast.success('添加成功')
}} }}
> >