vant/v1/async_50.307d675e.js
2024-04-20 08:49:23 +00:00

1 line
10 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{223:function(u,E,C){"use strict";C.r(E);var F={created:function(){this.content=unescape("%3Ch2%3E%u5F00%u53D1%u6307%u5357%3C/h2%3E%0A%3Cp%3E%u9996%u5148%u611F%u8C22%u4F60%u4F7F%u7528%20Vant%u3002%3C/p%3E%0A%3Cp%3E%u4EE5%u4E0B%u662F%u5173%u4E8E%u5411%20Vant%20%u63D0%u4EA4%u4EE3%u7801%u7684%u6307%u5357%u3002%u5728%u5411%20Vant%20%u63D0%u4EA4%20Issue%20%u6216%u8005%20PR%20%u4E4B%u524D%uFF0C%u8BF7%u5148%u82B1%u51E0%u5206%u949F%u65F6%u95F4%u9605%u8BFB%u4EE5%u4E0B%u6587%u5B57%u3002%3C/p%3E%0A%3Ch3%3EIssue%20%u89C4%u8303%3C/h3%3E%0A%3Cul%3E%0A%3Cli%3E%u9047%u5230%u95EE%u9898%u65F6%uFF0C%u8BF7%u5148%u786E%u8BA4%u8FD9%u4E2A%u95EE%u9898%u5DF2%u7ECF%u5728%20issue%20%u4E2D%u6709%u8BB0%u5F55%u6216%u8005%u5DF2%u88AB%u4FEE%u590D%3C/li%3E%0A%3Cli%3E%u63D0%20Issue%20%u65F6%uFF0C%u8BF7%u7528%u7B80%u77ED%u7684%u8BED%u8A00%u63CF%u8FF0%u9047%u5230%u7684%u95EE%u9898%uFF0C%u5E76%u6DFB%u52A0%u51FA%u73B0%u95EE%u9898%u65F6%u7684%u73AF%u5883%u548C%u590D%u73B0%u6B65%u9AA4%3C/li%3E%0A%3C/ul%3E%0A%3Ch3%3EPull%20Request%20%u89C4%u8303%3C/h3%3E%0A%3Cul%3E%0A%3Cli%3E%u5982%u679C%u9047%u5230%u95EE%u9898%uFF0C%u5EFA%u8BAE%u4FDD%u6301%u4F60%u7684%20PR%20%u8DB3%u591F%u5C0F%u3002%u4FDD%u8BC1%u4E00%u4E2A%20PR%20%u53EA%u89E3%u51B3%u4E00%u4E2A%u95EE%u9898%u6216%u53EA%u6DFB%u52A0%u4E00%u4E2A%u529F%u80FD%3C/li%3E%0A%3Cli%3E%u5F53%u65B0%u589E%u7EC4%u4EF6%u6216%u8005%u4FEE%u6539%u539F%u6709%u7EC4%u4EF6%u65F6%uFF0C%u8BB0%u5F97%u589E%u52A0%u6216%u8005%u4FEE%u6539%u6D4B%u8BD5%u4EE3%u7801%uFF0C%u4FDD%u8BC1%u4EE3%u7801%u7684%u7A33%u5B9A%3C/li%3E%0A%3Cli%3E%u5728%20PR%20%u4E2D%u8BF7%u6DFB%u52A0%u5408%u9002%u7684%u63CF%u8FF0%uFF0C%u5E76%u5173%u8054%u76F8%u5173%u7684%20Issue%3C/li%3E%0A%3C/ul%3E%0A%3Ch3%3EPull%20Request%20%u6D41%u7A0B%3C/h3%3E%0A%3Col%3E%0A%3Cli%3Efork%20%u4E3B%u4ED3%u5E93%uFF0C%u5982%u679C%u5DF2%u7ECF%20fork%20%u8FC7%uFF0C%u8BF7%u540C%u6B65%u4E3B%u4ED3%u5E93%u7684%u6700%u65B0%u4EE3%u7801%3C/li%3E%0A%3Cli%3E%u57FA%u4E8E%20fork%20%u540E%u4ED3%u5E93%u7684%20dev%20%u5206%u652F%u65B0%u5EFA%u4E00%u4E2A%u5206%u652F%uFF0C%u6BD4%u5982%3Ccode%3Efeature/button_color%3C/code%3E%3C/li%3E%0A%3Cli%3E%u5728%u65B0%u5206%u652F%u4E0A%u8FDB%u884C%u5F00%u53D1%uFF0C%u5F00%u53D1%u5B8C%u6210%u540E%uFF0C%u63D0%20Pull%20Request%20%u5230%u4E3B%u4ED3%u5E93%u7684%20dev%20%u5206%u652F%3C/li%3E%0A%3Cli%3EPull%20Request%20%u4F1A%u5728%20Review%20%u901A%u8FC7%u540E%u88AB%u5408%u5E76%u5230%u4E3B%u4ED3%u5E93%3C/li%3E%0A%3Cli%3E%u7B49%u5F85%20Vant%20%u53D1%u5E03%u7248%u672C%uFF0C%u4E00%u822C%u662F%u6BCF%u5468%u4E00%u6B21%3C/li%3E%0A%3C/ol%3E%0A%3Ch3%3E%u540C%u6B65%u6559%u7A0B%3C/h3%3E%0A%3Cp%3E%u63D0%20Pull%20Request%20%u524D%uFF0C%u8BF7%u4F9D%u7167%u4E0B%u9762%u7684%u6D41%u7A0B%u540C%u6B65%u4E3B%u4ED3%u5E93%u7684%u6700%u65B0%u4EE3%u7801%3C/p%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-bash%22%3E%3Cspan%20class%3D%22hljs-comment%22%3E%23%20%u6DFB%u52A0%u4E3B%u4ED3%u5E93%u5230%20remote%uFF0C%u4F5C%u4E3A%20fork%20%u540E%u4ED3%u5E93%u7684%u4E0A%u6E38%u4ED3%u5E93%3C/span%3E%0Agit%20remote%20add%20upstream%20https%3A//github.com/youzan/vant.git%0A%0A%3Cspan%20class%3D%22hljs-comment%22%3E%23%20%u62C9%u53D6%u4E3B%u4ED3%u5E93%u6700%u65B0%u4EE3%u7801%3C/span%3E%0Agit%20fetch%20upstream%0A%0A%3Cspan%20class%3D%22hljs-comment%22%3E%23%20%u5207%u6362%u81F3%20dev%20%u5206%u652F%3C/span%3E%0Agit%20checkout%20dev%0A%0A%3Cspan%20class%3D%22hljs-comment%22%3E%23%20%u5408%u5E76%u4E3B%u4ED3%u5E93%u4EE3%u7801%3C/span%3E%0Agit%20merge%20upstream/dev%0A%3C/code%3E%3C/pre%3E%0A%3Ch3%3E%u521D%u59CB%u5316%u9879%u76EE%3C/h3%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-bash%22%3Egit%20%3Cspan%20class%3D%22hljs-built_in%22%3Eclone%3C/span%3E%20git@github.com%3Ayouzan/vant.git%0A%0A%3Cspan%20class%3D%22hljs-built_in%22%3Ecd%3C/span%3E%20vant%0A%0A%3Cspan%20class%3D%22hljs-comment%22%3E%23%20%u5B89%u88C5%u4F9D%u8D56%3C/span%3E%0Anpm%20run%20bootstrap%0A%0A%3Cspan%20class%3D%22hljs-comment%22%3E%23%20%u672C%u5730%u5F00%u53D1%u6A21%u5F0F%3C/span%3E%0Anpm%20run%20dev%0A%3C/code%3E%3C/pre%3E%0A%3Cp%3E%u6D4F%u89C8%u5668%u8BBF%u95EE%20%3Ca%20href%3D%22http%3A//localhost%3A8080%22%3Ehttp%3A//localhost%3A8080%3C/a%3E%20%u5C31%u53EF%u4EE5%u770B%u5230%u6240%u6709%u7EC4%u4EF6%u7684%u793A%u4F8B%u4E86%u3002%3C/p%3E%0A%3Ch3%3E%u76EE%u5F55%u7ED3%u6784%3C/h3%3E%0A%3Cul%3E%0A%3Cli%3E%u4ED3%u5E93%u7684%u7EC4%u4EF6%u4EE3%u7801%u4F4D%u4E8E%20packages%20%u4E0B%uFF0C%u6BCF%u4E2A%u7EC4%u4EF6%u4E00%u4E2A%u6587%u4EF6%u5939%3C/li%3E%0A%3Cli%3Edocs%20%u76EE%u5F55%u4E0B%u662F%u6587%u6863%u7F51%u7AD9%u7684%u4EE3%u7801%uFF0C%u672C%u5730%u5F00%u53D1%u65F6%u53EF%u4EE5%u5728%u76EE%u5F55%u4E0B%u8FD0%u884C%20npm%20run%20dev%20%u5F00%u542F%u6587%u6863%u7F51%u7AD9%3C/li%3E%0A%3C/ul%3E%0A%3Cp%3E%u9879%u76EE%u76EE%u5F55%u5927%u81F4%u5982%u4E0B%uFF1A%3C/p%3E%0A%3Cpre%3E%3Ccode%3Evant%0A%u251C%u2500%20build%20%20%20%20%20%20%20%20%20%20%20%20%23%20%u6784%u5EFA%u811A%u672C%0A%u251C%u2500%20docs%20%20%20%20%20%20%20%20%20%20%20%20%20%23%20%u6587%u6863%u7F51%u7AD9%0A%u251C%u2500%20packages%20%20%20%20%20%20%20%20%20%23%20%u7EC4%u4EF6%u6587%u4EF6%0A%u251C%u2500%20test%20%20%20%20%20%20%20%20%20%20%20%20%20%23%20%u5355%u5143%u6D4B%u8BD5%0A%u2514%u2500%20types%20%20%20%20%20%20%20%20%20%20%20%20%23%20%u7C7B%u578B%u5B9A%u4E49%0A%3C/code%3E%3C/pre%3E%0A%3Ch3%3E%u6DFB%u52A0%u65B0%u7EC4%u4EF6%3C/h3%3E%0A%3Cp%3E%u6DFB%u52A0%u65B0%u7EC4%u4EF6%u65F6%uFF0C%u8BF7%u6309%u7167%u4E0B%u9762%u7684%u76EE%u5F55%u7ED3%u6784%u7EC4%u7EC7%u6587%u4EF6%uFF0C%u5E76%u5728%20%3Ccode%3Edocs/src/doc.config.js%3C/code%3E%20%u4E2D%u914D%u7F6E%u7EC4%u4EF6%u540D%u79F0%3C/p%3E%0A%3Cpre%3E%3Ccode%3Epackages%0A%7C-%20button%0A%7C%20%20%u251C%u2500%20demo%20%20%20%20%20%20%20%20%23%20%u793A%u4F8B%u4EE3%u7801%0A%7C%20%20%u251C%u2500%20test%20%20%20%20%20%20%20%20%23%20%u5355%u5143%u6D4B%u8BD5%0A%7C%20%20%u251C%u2500%20zh-CN.md%20%20%20%20%23%20%u4E2D%u6587%u6587%u6863%0A%7C%20%20%u251C%u2500%20en-US.md%20%20%20%20%23%20%u82F1%u6587%u6587%u6863%0A%7C%20%20%u251C%u2500%20index.less%20%20%23%20%u7EC4%u4EF6%u6837%u5F0F%0A%7C%20%20%u2514%u2500%20index.vue%20%20%20%23%20%u7EC4%u4EF6%u5165%u53E3%0A%7C%0A%u251C%u2500%20index.js%20%20%20%20%20%20%20%23%20%u6240%u6709%u7EC4%u4EF6%u5165%u53E3%0A%u2514%u2500%20index.less%20%20%20%20%20%23%20%u6240%u6709%u7EC4%u4EF6%u6837%u5F0F%0A%3C/code%3E%3C/pre%3E%0A%3Ch3%3E%u7EC4%u4EF6%u6587%u6863%3C/h3%3E%0A%3Cp%3E%u7EC4%u4EF6%u6587%u6863%u91C7%u7528%20markdown%20%u683C%u5F0F%uFF0C%u5185%u5BB9%u5305%u62EC%u4F7F%u7528%u793A%u4F8B%u4EE5%u53CA%20%3Ccode%3EAPI%3C/code%3E%20%u7B49%u3002%3C/p%3E%0A%3Ch5%3E1.%20%u6807%u9898%u89C4%u8303%3C/h5%3E%0A%3Cp%3E%u6587%u6863%u6807%u9898%u4ECE%20%3Ccode%3Eh2%3C/code%3E%uFF08%u5373%20%3Ccode%3E%23%23%3C/code%3E%20%u6807%u9898%20%uFF09%u5F00%u59CB%uFF0C%u6BCF%u5F80%u4E0B%u4E00%u7EA7%u591A%u52A0%u4E00%u4E2A%20%3Ccode%3E%23%3C/code%3E%20%u53F7%u3002%3C/p%3E%0A%3Ch5%3E2.%20%u7EC4%u4EF6%u63CF%u8FF0%3C/h5%3E%0A%3Cp%3E%u5927%u6807%u9898%u4E0B%u9762%u662F%u5BF9%u7EC4%u4EF6%u7684%u4E00%u53E5%u8BDD%u7B80%u8981%u63CF%u8FF0%u3002%3C/p%3E%0A%3Ch5%3E3.%20%u4F7F%u7528%u6307%u5357%3C/h5%3E%0A%3Cp%3E%u5982%u679C%u7EC4%u4EF6%u9700%u8981%u4F7F%u7528%u6307%u5357%uFF0C%u653E%u5728%u7EC4%u4EF6%u63CF%u8FF0%u4E0B%u65B9%uFF0C%u53E6%u8D77%u4E00%u4E2A%u4E8C%u7EA7%u6807%u9898%u3002%3C/p%3E%0A%3Ch5%3E4.%20%u4EE3%u7801%u6F14%u793A%3C/h5%3E%0A%3Cp%3E%u4E66%u5199%u4EE3%u7801%u6F14%u793A%u65F6%uFF0C%u5EFA%u8BAE%u4ECE%u7B80%u5355%u7528%u6CD5%u5F00%u59CB%u4ECB%u7ECD%uFF0C%u4E0D%u8981%u4E0A%u6765%u5C31%u540C%u65F6%u4F7F%u7528%u4E00%u5927%u5806%20API%uFF0C%u4F1A%u8BA9%u4EBA%u89C9%u5F97%u96BE%u4EE5%u4E0A%u624B%u3002%u5E76%u4E14%u4E00%u4E2A%u793A%u4F8B%u53EA%u6F14%u793A%u4E00%u4E2A%20API%20%u7684%u4F7F%u7528%u65B9%u6CD5%uFF0C%u5982%u65E0%u7279%u6B8A%u9700%u6C42%u4E0D%u8981%u5728%u4E00%u4E2A%u793A%u4F8B%u4E2D%u540C%u65F6%u6F14%u793A%u591A%u4E2A%20API%20%u6DF7%u5408%u4F7F%u7528%u3002%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-button%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Asize%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22size%22%3C/span%3E%26gt%3B%3C/span%3E%0A%20%20Large%0A%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-button%3C/span%3E%26gt%3B%3C/span%3E%0A%3C/code%3E%3C/pre%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-javascript%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%3Esize%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27large%27%3C/span%3E%0A%20%20%20%20%7D%3B%0A%20%20%7D%0A%7D%3B%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E5.%20API%20%u8BF4%u660E%3C/h4%3E%0A%3Cp%3E%u7EC4%u4EF6%u7684%20API%20%u8BF4%u660E%u4EE5%u8868%u683C%u7684%u5F62%u5F0F%u4E66%u5199%uFF0C%u8868%u683C%u5305%u542B%u4EE5%u4E0B%u5217%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%3C/tr%3E%0A%3C/thead%3E%0A%3Ctbody%3E%0A%3Ctr%3E%0A%3Ctd%3Evisible%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u53EF%u89C1%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%3C/tr%3E%0A%3C/tbody%3E%0A%3C/table%3E%0A%3Ch4%3E6.%20Event%20%u8BF4%u660E%3C/h4%3E%0A%3Cp%3E%u7EC4%u4EF6%u7684%20Event%20%u8BF4%u660E%uFF0C%u8BF7%u4EE5%u8868%u683C%u7684%u5F62%u5F0F%u4E66%u5199%uFF0C%u8868%u683C%u5305%u542B%u4EE5%u4E0B%u5217%uFF1A%3C/p%3E%0A%3Ctable%3E%0A%3Cthead%3E%0A%3Ctr%3E%0A%3Cth%3E%u4E8B%u4EF6%u540D%3C/th%3E%0A%3Cth%3E%u8BF4%u660E%3C/th%3E%0A%3Cth%3E%u53C2%u6570%3C/th%3E%0A%3C/tr%3E%0A%3C/thead%3E%0A%3Ctbody%3E%0A%3Ctr%3E%0A%3Ctd%3Eclick%3C/td%3E%0A%3Ctd%3E%u70B9%u51FB%u6309%u94AE%u65F6%u89E6%u53D1%3C/td%3E%0A%3Ctd%3Eevent%uFF1A%u4E8B%u4EF6%u5BF9%u8C61%3C/td%3E%0A%3C/tr%3E%0A%3C/tbody%3E%0A%3C/table%3E%0A")}},A=C(7),s=Object(A.a)(F,function(){this.$createElement;this._self._c;return this._m(0)},[function(){var u=this.$createElement;return(this._self._c||u)("section",{domProps:{innerHTML:this._s(this.content)}})}],!1,null,null,null);E.default=s.exports}}]);