Skip to main content
Version: 24.38.0

Dialog.defaultValue() 方法

🌐 Dialog.defaultValue() method

提示的默认值,如果对话不是 prompt 则为一个空字符串。

🌐 The default value of the prompt, or an empty string if the dialog is not a prompt.

语法

🌐 Signature

class Dialog {
defaultValue(): string;
}

返回:

string