Commit 1de2b5d6 authored by chechunchi's avatar chechunchi

add announceModal in store

parent 6b06ad57
Pipeline #21826 passed with stages
in 16 minutes and 23 seconds
...@@ -25,6 +25,10 @@ export const messageStore = proxy<ModalState>({ ...@@ -25,6 +25,10 @@ export const messageStore = proxy<ModalState>({
isOpen: false, isOpen: false,
options: [], options: [],
}, },
announceModal: {
isOpen: false,
options: [],
},
}); });
// >>> modal types >>> // >>> modal types >>>
...@@ -87,4 +87,13 @@ export interface ModalState { ...@@ -87,4 +87,13 @@ export interface ModalState {
response: number; response: number;
}[]; }[];
}; };
// 宣言弹窗
announceModal: {
isOpen: boolean;
title?: string;
options: {
info: string;
response: number;
}[];
};
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment