vant/v1/async_106.9748d6aa.js
2024-04-20 08:49:23 +00:00

1 line
3.5 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[106],{317:function(u,E,C){"use strict";C.r(E);var s={created:function(){this.content=unescape("%3Ch2%3E%u56FD%u9645%u5316%3C/h2%3E%0A%3Cp%3EVant%20%u9ED8%u8BA4%u91C7%u7528%u4E2D%u6587%u4F5C%u4E3A%u8BED%u8A00%uFF0C%u5982%u679C%u9700%u8981%u4F7F%u7528%u5176%u4ED6%u8BED%u8A00%uFF0C%u53EF%u4EE5%u53C2%u8003%u4E0B%u9762%u7684%u65B9%u6848%3C/p%3E%0A%3Ch3%3E%u591A%u8BED%u8A00%u5207%u6362%3C/h3%3E%0A%3Cp%3EVant%20%u901A%u8FC7%20Locale%20%u7EC4%u4EF6%u5B9E%u73B0%u591A%u8BED%u8A00%u652F%u6301%uFF0C%u4F7F%u7528%20%3Ccode%3ELocale.use%3C/code%3E%20%u65B9%u6CD5%u53EF%u4EE5%u5207%u6362%u5F53%u524D%u4F7F%u7528%u7684%u8BED%u8A00%u3002%3C/p%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-js%22%3E%3Cspan%20class%3D%22hljs-keyword%22%3Eimport%3C/span%3E%20%7B%20Locale%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%3Cspan%20class%3D%22hljs-keyword%22%3Eimport%3C/span%3E%20enUS%20%3Cspan%20class%3D%22hljs-keyword%22%3Efrom%3C/span%3E%20%3Cspan%20class%3D%22hljs-string%22%3E%27vant/lib/locale/lang/en-US%27%3C/span%3E%3B%0A%0ALocale.use%28%3Cspan%20class%3D%22hljs-string%22%3E%27en-US%27%3C/span%3E%2C%20enUS%29%3B%0A%3C/code%3E%3C/pre%3E%0A%3Ch3%3E%u4FEE%u6539%u9ED8%u8BA4%u6587%u6848%3C/h3%3E%0A%3Cp%3E%u901A%u8FC7%20%3Ccode%3ELocale.add%3C/code%3E%20%u65B9%u6CD5%u53EF%u4EE5%u5B9E%u73B0%u6587%u6848%u7684%u4FEE%u6539%u548C%u6269%u5C55%uFF0C%u793A%u4F8B%u5982%u4E0B%uFF1A%3C/p%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-js%22%3E%3Cspan%20class%3D%22hljs-keyword%22%3Eimport%3C/span%3E%20%7B%20Locale%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%0A%3Cspan%20class%3D%22hljs-keyword%22%3Econst%3C/span%3E%20messages%20%3D%20%7B%0A%20%20%3Cspan%20class%3D%22hljs-string%22%3E%27zh-CN%27%3C/span%3E%3A%20%7B%0A%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3EvanPicker%3C/span%3E%3A%20%7B%0A%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Econfirm%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27%u5173%u95ED%27%3C/span%3E%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u5C06%27%u786E%u8BA4%27%u4FEE%u6539%u4E3A%27%u5173%u95ED%27%3C/span%3E%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%3B%0A%0ALocale.add%28messages%29%3B%0A%3C/code%3E%3C/pre%3E%0A%3Ch3%3E%u914D%u7F6E%u6587%u4EF6%3C/h3%3E%0A%3Cp%3E%u76EE%u524D%u652F%u6301%u7684%u8BED%u8A00%3A%3C/p%3E%0A%3Ctable%3E%0A%3Cthead%3E%0A%3Ctr%3E%0A%3Cth%3E%u8BED%u8A00%3C/th%3E%0A%3Cth%3E%u6587%u4EF6%u540D%3C/th%3E%0A%3C/tr%3E%0A%3C/thead%3E%0A%3Ctbody%3E%0A%3Ctr%3E%0A%3Ctd%3E%u7B80%u4F53%u4E2D%u6587%3C/td%3E%0A%3Ctd%3Ezh-CN%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3E%u7E41%u9AD4%u4E2D%u6587%uFF08%u6E2F%uFF09%3C/td%3E%0A%3Ctd%3Ezh-HK%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3E%u7E41%u9AD4%u4E2D%u6587%uFF08%u53F0%uFF09%3C/td%3E%0A%3Ctd%3Ezh-TW%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3E%u82F1%u8BED%3C/td%3E%0A%3Ctd%3Een-US%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3E%u571F%u8033%u5176%u8BED%3C/td%3E%0A%3Ctd%3Etr-TR%3C/td%3E%0A%3C/tr%3E%0A%3C/tbody%3E%0A%3C/table%3E%0A%3Cp%3E%u5728%20%3Ca%20href%3D%22https%3A//github.com/youzan/vant/tree/dev/packages/locale/lang%22%3E%u8FD9%u91CC%3C/a%3E%20%u67E5%u770B%u6240%u6709%u7684%20i18n%20%u914D%u7F6E%u6587%u4EF6%u3002%3C/p%3E%0A")}},a=C(7),t=Object(a.a)(s,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=t.exports}}]);