mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-16 09:58:13 +08:00
✨ 成功获取 confirm 返回
This commit is contained in:
5
src/types/Component/Confirm.d.ts
vendored
5
src/types/Component/Confirm.d.ts
vendored
@@ -14,9 +14,6 @@ declare namespace TGApp.Component.Confirm {
|
||||
* @property {string} text 文本
|
||||
* @property {string} mode 模式 // normal: 正常(默认),input: 输入框
|
||||
* @property {boolean} otcancel 点击外部取消 // true: 取消(默认),false: 不取消
|
||||
* @property {function} onConfirm 确认回调
|
||||
* @property {function} onCancel 取消回调
|
||||
* @property {function} onInput 输入回调
|
||||
* @return Params
|
||||
*/
|
||||
export interface Params {
|
||||
@@ -24,7 +21,5 @@ declare namespace TGApp.Component.Confirm {
|
||||
text?: string;
|
||||
mode?: "confirm" | "input";
|
||||
otcancel?: boolean;
|
||||
onConfirm?: (value?: string | boolean) => void;
|
||||
onCancel?: () => void;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user