mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-29 18:48:32 +08:00
docs: typo error (#7505)
Co-authored-by: fuwedong <fuwendong5@outlook.com>
This commit is contained in:
parent
ffd4d8fe92
commit
2b0c2da232
@ -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();
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user