docs: typo error (#7505)

Co-authored-by: fuwedong <fuwendong5@outlook.com>
This commit is contained in:
fwd01 2024-04-19 10:18:59 +08:00 committed by GitHub
parent ffd4d8fe92
commit 2b0c2da232
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ import type { MessageInstance } from 'ant-design-vue/es/message/interface';
import type { ModalStaticFunctions } from 'ant-design-vue/es/modal/confirm'; import type { ModalStaticFunctions } from 'ant-design-vue/es/modal/confirm';
import type { NotificationInstance } from 'ant-design-vue/es/notification/interface'; import type { NotificationInstance } from 'ant-design-vue/es/notification/interface';
export const useGloablStore = defineStore('global', () => { export const useGlobalStore = defineStore('global', () => {
const message: MessageInstance = ref(); const message: MessageInstance = ref();
const notification: NotificationInstance = ref(); const notification: NotificationInstance = ref();
const modal: Omit<ModalStaticFunctions, 'warn'> = ref(); const modal: Omit<ModalStaticFunctions, 'warn'> = ref();

View File

@ -98,7 +98,7 @@ import type { MessageInstance } from 'ant-design-vue/es/message/interface';
import type { ModalStaticFunctions } from 'ant-design-vue/es/modal/confirm'; import type { ModalStaticFunctions } from 'ant-design-vue/es/modal/confirm';
import type { NotificationInstance } from 'ant-design-vue/es/notification/interface'; import type { NotificationInstance } from 'ant-design-vue/es/notification/interface';
export const useGloablStore = defineStore('global', () => { export const useGlobalStore = defineStore('global', () => {
const message: MessageInstance = ref(); const message: MessageInstance = ref();
const notification: NotificationInstance = ref(); const notification: NotificationInstance = ref();
const modal: Omit<ModalStaticFunctions, 'warn'> = ref(); const modal: Omit<ModalStaticFunctions, 'warn'> = ref();