From 6e2a13c93fc5bd33e583a05b3a6e6ac629427c49 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Fri, 21 Jul 2023 10:52:21 +0800 Subject: [PATCH] chore(docs): format message-box (#13676) --- docs/en-US/component/message-box.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en-US/component/message-box.md b/docs/en-US/component/message-box.md index 78c9d9092c..ee1af4ba7d 100644 --- a/docs/en-US/component/message-box.md +++ b/docs/en-US/component/message-box.md @@ -186,11 +186,11 @@ The corresponding methods are: `ElMessageBox`, `ElMessageBox.alert`, `ElMessageB | input-placeholder | placeholder of input | ^[string] | '' | | input-type | type of input | ^[string] | text | | input-value | initial value of input | ^[string] | null | -| input-pattern | regexp for the input | ^[regexp] | null | | +| input-pattern | regexp for the input | ^[regexp] | null | | input-validator | validation function for the input. Should returns a boolean or string. If a string is returned, it will be assigned to inputErrorMessage | ^[Function]`(value: string) => boolea \| string` | null | | input-error-message | error message when validation fails | ^[string] | Illegal input | | center | whether to align the content in center | ^[boolean] | false | | draggable | whether MessageBox is draggable | ^[boolean] | false | | round-button | whether to use round button | ^[boolean] | false | | button-size | custom size of confirm and cancel buttons | ^[string]`'small' \| 'default' \| 'large'` | default | -| append-to | set the root element for the message box | ^[string] / ^[HTMLElement] | - | +| append-to | set the root element for the message box | ^[string] / ^[HTMLElement] | — |