Skip to content

Commit

Permalink
docs: doucment update
Browse files Browse the repository at this point in the history
  • Loading branch information
selicens committed Jul 15, 2023
1 parent b9d6354 commit 4c7b6f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion components/app/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ import type { NotificationInstance } from 'ant-design-vue/es/notification/interf
export const useGloablStore = defineStore('global', () => {
const message: MessageInstance = ref();
const notification: NotificationInstance = ref();
const modal: Omit<ModalStaticFunctions, 'warn'> = ref()(() => {
const modal: Omit<ModalStaticFunctions, 'warn'> = ref();
(() => {
const staticFunction = App.useApp();
message.value = staticFunction.message;
modal.value = staticFunction.modal;
Expand Down
3 changes: 2 additions & 1 deletion components/app/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ import type { NotificationInstance } from 'ant-design-vue/es/notification/interf
export const useGloablStore = defineStore('global', () => {
const message: MessageInstance = ref();
const notification: NotificationInstance = ref();
const modal: Omit<ModalStaticFunctions, 'warn'> = ref()(() => {
const modal: Omit<ModalStaticFunctions, 'warn'> = ref();
(() => {
const staticFunction = App.useApp();
message.value = staticFunction.message;
modal.value = staticFunction.modal;
Expand Down

0 comments on commit 4c7b6f6

Please sign in to comment.