mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
1 line
17 KiB
JavaScript
1 line
17 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[90],{290:function(E,C,t){"use strict";t.r(C);var u={created:function(){this.content=unescape("%3Ch2%3EDialog%20%u5F39%u51FA%u6846%3C/h2%3E%0A%3Cp%3EDialog%20%u7EC4%u4EF6%u652F%u6301%u51FD%u6570%u8C03%u7528%u548C%u7EC4%u4EF6%u8C03%u7528%u4E24%u79CD%u5F62%u5F0F%3C/p%3E%0A%3Ch3%3E%u4F7F%u7528%u6307%u5357%3C/h3%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-js%22%3E%3Cspan%20class%3D%22hljs-keyword%22%3Eimport%3C/span%3E%20%7B%20Dialog%20%7D%20%3Cspan%20class%3D%22hljs-keyword%22%3Efrom%3C/span%3E%20%3Cspan%20class%3D%22hljs-string%22%3E%27vant%27%3C/span%3E%3B%0A%0AVue.use%28Dialog%29%3B%0A%3C/code%3E%3C/pre%3E%0A%3Ch3%3E%u4EE3%u7801%u6F14%u793A%3C/h3%3E%0A%3Ch4%3E%u6D88%u606F%u63D0%u793A%3C/h4%3E%0A%3Cp%3E%u7528%u4E8E%u63D0%u793A%u4E00%u4E9B%u6D88%u606F%uFF0C%u53EA%u5305%u542B%u4E00%u4E2A%u786E%u8BA4%u6309%u94AE%3C/p%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-javascript%22%3EDialog.alert%28%7B%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Etitle%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27%u6807%u9898%27%3C/span%3E%2C%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Emessage%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27%u5F39%u7A97%u5185%u5BB9%27%3C/span%3E%0A%7D%29.then%28%3Cspan%20class%3D%22hljs-function%22%3E%3Cspan%20class%3D%22hljs-params%22%3E%28%29%3C/span%3E%20%3D%26gt%3B%3C/span%3E%20%7B%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20on%20close%3C/span%3E%0A%7D%29%3B%0A%0ADialog.alert%28%7B%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Emessage%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27%u5F39%u7A97%u5185%u5BB9%27%3C/span%3E%0A%7D%29.then%28%3Cspan%20class%3D%22hljs-function%22%3E%3Cspan%20class%3D%22hljs-params%22%3E%28%29%3C/span%3E%20%3D%26gt%3B%3C/span%3E%20%7B%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20on%20close%3C/span%3E%0A%7D%29%3B%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E%u6D88%u606F%u786E%u8BA4%3C/h4%3E%0A%3Cp%3E%u7528%u4E8E%u786E%u8BA4%u6D88%u606F%uFF0C%u5305%u542B%u53D6%u6D88%u548C%u786E%u8BA4%u6309%u94AE%3C/p%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-javascript%22%3EDialog.confirm%28%7B%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Etitle%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27%u6807%u9898%27%3C/span%3E%2C%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Emessage%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27%u5F39%u7A97%u5185%u5BB9%27%3C/span%3E%0A%7D%29.then%28%3Cspan%20class%3D%22hljs-function%22%3E%3Cspan%20class%3D%22hljs-params%22%3E%28%29%3C/span%3E%20%3D%26gt%3B%3C/span%3E%20%7B%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20on%20confirm%3C/span%3E%0A%7D%29.catch%28%3Cspan%20class%3D%22hljs-function%22%3E%3Cspan%20class%3D%22hljs-params%22%3E%28%29%3C/span%3E%20%3D%26gt%3B%3C/span%3E%20%7B%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20on%20cancel%3C/span%3E%0A%7D%29%3B%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E%u5F02%u6B65%u5173%u95ED%3C/h4%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-js%22%3E%3Cspan%20class%3D%22hljs-function%22%3E%3Cspan%20class%3D%22hljs-keyword%22%3Efunction%3C/span%3E%20%3Cspan%20class%3D%22hljs-title%22%3EbeforeClose%3C/span%3E%28%3Cspan%20class%3D%22hljs-params%22%3Eaction%2C%20done%3C/span%3E%29%20%3C/span%3E%7B%0A%20%20%3Cspan%20class%3D%22hljs-keyword%22%3Eif%3C/span%3E%20%28action%20%3D%3D%3D%20%3Cspan%20class%3D%22hljs-string%22%3E%27confirm%27%3C/span%3E%29%20%7B%0A%20%20%20%20setTimeout%28done%2C%20%3Cspan%20class%3D%22hljs-number%22%3E1000%3C/span%3E%29%3B%0A%20%20%7D%20%3Cspan%20class%3D%22hljs-keyword%22%3Eelse%3C/span%3E%20%7B%0A%20%20%20%20done%28%29%3B%0A%20%20%7D%0A%7D%0A%0ADialog.confirm%28%7B%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Etitle%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27%u6807%u9898%27%3C/span%3E%2C%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Emessage%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27%u5F39%u7A97%u5185%u5BB9%27%3C/span%3E%2C%0A%20%20beforeClose%0A%7D%29%3B%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E%u5168%u5C40%u65B9%u6CD5%3C/h4%3E%0A%3Cp%3E%u5F15%u5165%20Dialog%20%u7EC4%u4EF6%u540E%uFF0C%u4F1A%u81EA%u52A8%u5728%20Vue%20%u7684%20prototype%20%u4E0A%u6302%u8F7D%20%24dialog%20%u65B9%u6CD5%uFF0C%u5728%u6240%u6709%u7EC4%u4EF6%u5185%u90E8%u90FD%u53EF%u4EE5%u76F4%u63A5%u8C03%u7528%u6B64%u65B9%u6CD5%3C/p%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-js%22%3E%3Cspan%20class%3D%22hljs-keyword%22%3Eexport%3C/span%3E%20%3Cspan%20class%3D%22hljs-keyword%22%3Edefault%3C/span%3E%20%7B%0A%20%20mounted%28%29%20%7B%0A%20%20%20%20%3Cspan%20class%3D%22hljs-keyword%22%3Ethis%3C/span%3E.%24dialog.alert%28%7B%0A%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Emessage%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27%u5F39%u7A97%u5185%u5BB9%27%3C/span%3E%0A%20%20%20%20%7D%29%3B%0A%20%20%7D%0A%7D%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E%u7EC4%u4EF6%u8C03%u7528%3C/h4%3E%0A%3Cp%3E%u5982%u679C%u9700%u8981%u5728%u5F39%u7A97%u5185%u5D4C%u5165%u7EC4%u4EF6%u6216%u5176%u4ED6%u81EA%u5B9A%u4E49%u5185%u5BB9%uFF0C%u53EF%u4EE5%u4F7F%u7528%u7EC4%u4EF6%u8C03%u7528%u7684%u65B9%u5F0F%uFF0C%u8C03%u7528%u524D%u9700%u8981%u901A%u8FC7%20%3Ccode%3EVue.use%3C/code%3E%20%u6CE8%u518C%u7EC4%u4EF6%3C/p%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-html%22%3E%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B%3Cspan%20class%3D%22hljs-name%22%3Evan-dialog%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Ev-model%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22show%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Etitle%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%u6807%u9898%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Eshow-cancel-button%3C/span%3E%0A%26gt%3B%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B%3Cspan%20class%3D%22hljs-name%22%3Eimg%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Esrc%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22https%3A//img.yzcdn.cn/1.jpg%22%3C/span%3E%26gt%3B%3C/span%3E%0A%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-dialog%3C/span%3E%26gt%3B%3C/span%3E%0A%3C/code%3E%3C/pre%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-js%22%3E%3Cspan%20class%3D%22hljs-keyword%22%3Eexport%3C/span%3E%20%3Cspan%20class%3D%22hljs-keyword%22%3Edefault%3C/span%3E%20%7B%0A%20%20data%28%29%20%7B%0A%20%20%20%20%3Cspan%20class%3D%22hljs-keyword%22%3Ereturn%3C/span%3E%20%7B%0A%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Eshow%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-literal%22%3Efalse%3C/span%3E%0A%20%20%20%20%7D%3B%0A%20%20%7D%0A%7D%0A%3C/code%3E%3C/pre%3E%0A%3Ch3%3E%u65B9%u6CD5%3C/h3%3E%0A%3Ctable%3E%0A%3Cthead%3E%0A%3Ctr%3E%0A%3Cth%3E%u65B9%u6CD5%u540D%3C/th%3E%0A%3Cth%3E%u53C2%u6570%3C/th%3E%0A%3Cth%3E%u8FD4%u56DE%u503C%3C/th%3E%0A%3Cth%3E%u4ECB%u7ECD%3C/th%3E%0A%3C/tr%3E%0A%3C/thead%3E%0A%3Ctbody%3E%0A%3Ctr%3E%0A%3Ctd%3EDialog%3C/td%3E%0A%3Ctd%3E%3Ccode%3Eoptions%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3EPromise%3C/code%3E%3C/td%3E%0A%3Ctd%3E%u5C55%u793A%u5F39%u7A97%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3EDialog.alert%3C/td%3E%0A%3Ctd%3E%3Ccode%3Eoptions%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3EPromise%3C/code%3E%3C/td%3E%0A%3Ctd%3E%u5C55%u793A%u6D88%u606F%u63D0%u793A%u5F39%u7A97%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3EDialog.confirm%3C/td%3E%0A%3Ctd%3E%3Ccode%3Eoptions%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3EPromise%3C/code%3E%3C/td%3E%0A%3Ctd%3E%u5C55%u793A%u6D88%u606F%u786E%u8BA4%u5F39%u7A97%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3EDialog.setDefaultOptions%3C/td%3E%0A%3Ctd%3E%3Ccode%3Eoptions%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Evoid%3C/code%3E%3C/td%3E%0A%3Ctd%3E%u4FEE%u6539%u9ED8%u8BA4%u914D%u7F6E%uFF0C%u5BF9%u6240%u6709%20Dialog%20%u751F%u6548%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3EDialog.resetDefaultOptions%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E%3Ccode%3Evoid%3C/code%3E%3C/td%3E%0A%3Ctd%3E%u91CD%u7F6E%u9ED8%u8BA4%u914D%u7F6E%uFF0C%u5BF9%u6240%u6709%20Dialog%20%u751F%u6548%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3EDialog.close%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E%3Ccode%3Evoid%3C/code%3E%3C/td%3E%0A%3Ctd%3E%u5173%u95ED%u5F39%u7A97%3C/td%3E%0A%3C/tr%3E%0A%3C/tbody%3E%0A%3C/table%3E%0A%3Ch3%3EOptions%3C/h3%3E%0A%3Cp%3E%u901A%u8FC7%u51FD%u6570%u8C03%u7528%20%3Ccode%3EDialog%3C/code%3E%20%u65F6%uFF0C%u652F%u6301%u4F20%u5165%u4EE5%u4E0B%u9009%u9879%uFF1A%3C/p%3E%0A%3Ctable%3E%0A%3Cthead%3E%0A%3Ctr%3E%0A%3Cth%3E%u53C2%u6570%3C/th%3E%0A%3Cth%3E%u8BF4%u660E%3C/th%3E%0A%3Cth%3E%u7C7B%u578B%3C/th%3E%0A%3Cth%3E%u9ED8%u8BA4%u503C%3C/th%3E%0A%3Cth%3E%u7248%u672C%3C/th%3E%0A%3C/tr%3E%0A%3C/thead%3E%0A%3Ctbody%3E%0A%3Ctr%3E%0A%3Ctd%3Etitle%3C/td%3E%0A%3Ctd%3E%u6807%u9898%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Emessage%3C/td%3E%0A%3Ctd%3E%u5185%u5BB9%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3EmessageAlign%3C/td%3E%0A%3Ctd%3E%u5185%u5BB9%u5BF9%u9F50%u65B9%u5F0F%uFF0C%u53EF%u9009%u503C%u4E3A%3Ccode%3Eleft%3C/code%3E%20%3Ccode%3Eright%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Ecenter%3C/code%3E%3C/td%3E%0A%3Ctd%3E1.5.0%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3EclassName%3C/td%3E%0A%3Ctd%3E%u81EA%u5B9A%u4E49%u7C7B%u540D%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%20%7C%20Array%20%7C%20Object%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E1.1.7%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3EshowConfirmButton%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u5C55%u793A%u786E%u8BA4%u6309%u94AE%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Etrue%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3EshowCancelButton%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u5C55%u793A%u53D6%u6D88%u6309%u94AE%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Efalse%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3EcancelButtonText%3C/td%3E%0A%3Ctd%3E%u53D6%u6D88%u6309%u94AE%u6587%u6848%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%u53D6%u6D88%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3EcancelButtonColor%3C/td%3E%0A%3Ctd%3E%u53D6%u6D88%u6309%u94AE%u989C%u8272%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%23000%3C/code%3E%3C/td%3E%0A%3Ctd%3E1.6.14%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3EconfirmButtonText%3C/td%3E%0A%3Ctd%3E%u786E%u8BA4%u6309%u94AE%u6587%u6848%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%u786E%u8BA4%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3EconfirmButtonColor%3C/td%3E%0A%3Ctd%3E%u786E%u8BA4%u6309%u94AE%u989C%u8272%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%231989fa%3C/code%3E%3C/td%3E%0A%3Ctd%3E1.6.14%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eoverlay%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u5C55%u793A%u8499%u5C42%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Etrue%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3EcloseOnClickOverlay%3C/td%3E%0A%3Ctd%3E%u70B9%u51FB%u8499%u5C42%u65F6%u662F%u5426%u5173%u95ED%u5F39%u7A97%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Efalse%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3ElockScroll%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u9501%u5B9A%u80CC%u666F%u6EDA%u52A8%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Etrue%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3EbeforeClose%3C/td%3E%0A%3Ctd%3E%u5173%u95ED%u524D%u7684%u56DE%u8C03%u51FD%u6570%uFF0C%3Cbr%3E%u8C03%u7528%20done%28%29%20%u540E%u5173%u95ED%u5F39%u7A97%uFF0C%3Cbr%3E%u8C03%u7528%20done%28false%29%20%u963B%u6B62%u5F39%u7A97%u5173%u95ED%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%28action%2C%20done%29%20%3D%26gt%3B%20void%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E1.1.6%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3EgetContainer%3C/td%3E%0A%3Ctd%3E%u6307%u5B9A%u6302%u8F7D%u7684%u8282%u70B9%uFF0C%u53EF%u4EE5%u4F20%u5165%u9009%u62E9%u5668%uFF0C%3Cbr%3E%u6216%u4E00%u4E2A%u8FD4%u56DE%u8282%u70B9%u7684%u51FD%u6570%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%20%7C%20%28%29%20%3D%26gt%3B%20HTMLElement%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Ebody%3C/code%3E%3C/td%3E%0A%3Ctd%3E1.6.11%3C/td%3E%0A%3C/tr%3E%0A%3C/tbody%3E%0A%3C/table%3E%0A%3Ch3%3EAPI%3C/h3%3E%0A%3Cp%3E%u901A%u8FC7%u7EC4%u4EF6%u8C03%u7528%20%3Ccode%3EDialog%3C/code%3E%20%u65F6%uFF0C%u652F%u6301%u4EE5%u4E0B%20API%uFF1A%3C/p%3E%0A%3Ctable%3E%0A%3Cthead%3E%0A%3Ctr%3E%0A%3Cth%3E%u53C2%u6570%3C/th%3E%0A%3Cth%3E%u8BF4%u660E%3C/th%3E%0A%3Cth%3E%u7C7B%u578B%3C/th%3E%0A%3Cth%3E%u9ED8%u8BA4%u503C%3C/th%3E%0A%3Cth%3E%u7248%u672C%3C/th%3E%0A%3C/tr%3E%0A%3C/thead%3E%0A%3Ctbody%3E%0A%3Ctr%3E%0A%3Ctd%3Ev-model%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u663E%u793A%u5F39%u7A97%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Etitle%3C/td%3E%0A%3Ctd%3E%u6807%u9898%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Emessage%3C/td%3E%0A%3Ctd%3E%u5185%u5BB9%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Emessage-align%3C/td%3E%0A%3Ctd%3E%u5185%u5BB9%u5BF9%u9F50%u65B9%u5F0F%uFF0C%u53EF%u9009%u503C%u4E3A%3Ccode%3Eleft%3C/code%3E%20%3Ccode%3Eright%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Ecenter%3C/code%3E%3C/td%3E%0A%3Ctd%3E1.5.0%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eshow-confirm-button%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u5C55%u793A%u786E%u8BA4%u6309%u94AE%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Etrue%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eshow-cancel-button%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u5C55%u793A%u53D6%u6D88%u6309%u94AE%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Efalse%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Ecancel-button-text%3C/td%3E%0A%3Ctd%3E%u53D6%u6D88%u6309%u94AE%u6587%u6848%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%u53D6%u6D88%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Ecancel-button-color%3C/td%3E%0A%3Ctd%3E%u53D6%u6D88%u6309%u94AE%u989C%u8272%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%23000%3C/code%3E%3C/td%3E%0A%3Ctd%3E1.6.14%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Econfirm-button-text%3C/td%3E%0A%3Ctd%3E%u786E%u8BA4%u6309%u94AE%u6587%u6848%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%u786E%u8BA4%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Econfirm-button-color%3C/td%3E%0A%3Ctd%3E%u786E%u8BA4%u6309%u94AE%u989C%u8272%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%231989fa%3C/code%3E%3C/td%3E%0A%3Ctd%3E1.6.14%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eoverlay%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u5C55%u793A%u8499%u5C42%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Etrue%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eclose-on-click-overlay%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u5728%u70B9%u51FB%u8499%u5C42%u540E%u5173%u95ED%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Efalse%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Elock-scroll%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u9501%u5B9A%u80CC%u666F%u6EDA%u52A8%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Etrue%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Ebefore-close%3C/td%3E%0A%3Ctd%3E%u5173%u95ED%u524D%u7684%u56DE%u8C03%u51FD%u6570%uFF0C%3Cbr%3E%u8C03%u7528%20done%28%29%20%u540E%u5173%u95ED%u5F39%u7A97%uFF0C%3Cbr%3E%u8C03%u7528%20done%28false%29%20%u963B%u6B62%u5F39%u7A97%u5173%u95ED%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%28action%2C%20done%29%20%3D%26gt%3B%20void%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E1.1.6%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eget-container%3C/td%3E%0A%3Ctd%3E%u6307%u5B9A%u6302%u8F7D%u7684%u8282%u70B9%uFF0C%u53EF%u4EE5%u4F20%u5165%u9009%u62E9%u5668%uFF0C%3Cbr%3E%u6216%u4E00%u4E2A%u8FD4%u56DE%u8282%u70B9%u7684%u51FD%u6570%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%20%7C%20%28%29%20%3D%26gt%3B%20HTMLElement%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Ebody%3C/code%3E%3C/td%3E%0A%3Ctd%3E1.1.6%3C/td%3E%0A%3C/tr%3E%0A%3C/tbody%3E%0A%3C/table%3E%0A%3Ch3%3EEvent%3C/h3%3E%0A%3Cp%3E%u901A%u8FC7%u7EC4%u4EF6%u8C03%u7528%20%3Ccode%3EDialog%3C/code%3E%20%u65F6%uFF0C%u652F%u6301%u4EE5%u4E0B%u4E8B%u4EF6%uFF1A%3C/p%3E%0A%3Ctable%3E%0A%3Cthead%3E%0A%3Ctr%3E%0A%3Cth%3E%u4E8B%u4EF6%3C/th%3E%0A%3Cth%3E%u8BF4%u660E%3C/th%3E%0A%3Cth%3E%u56DE%u8C03%u53C2%u6570%3C/th%3E%0A%3C/tr%3E%0A%3C/thead%3E%0A%3Ctbody%3E%0A%3Ctr%3E%0A%3Ctd%3Econfirm%3C/td%3E%0A%3Ctd%3E%u70B9%u51FB%u786E%u8BA4%u6309%u94AE%u65F6%u89E6%u53D1%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Ecancel%3C/td%3E%0A%3Ctd%3E%u70B9%u51FB%u53D6%u6D88%u6309%u94AE%u65F6%u89E6%u53D1%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3C/tbody%3E%0A%3C/table%3E%0A")}},d=t(7),A=Object(d.a)(u,function(){this.$createElement;this._self._c;return this._m(0)},[function(){var E=this.$createElement;return(this._self._c||E)("section",{domProps:{innerHTML:this._s(this.content)}})}],!1,null,null,null);C.default=A.exports}}]); |