mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
1 line
4.8 KiB
JavaScript
1 line
4.8 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[112],{327:function(C,E,t){"use strict";t.r(E);var u={created:function(){this.content=unescape("%3Ch2%3ENotify%20%u6D88%u606F%u63D0%u793A%3C/h2%3E%0A%3Ch3%3E%u4F7F%u7528%u6307%u5357%3C/h3%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-javascript%22%3E%3Cspan%20class%3D%22hljs-keyword%22%3Eimport%3C/span%3E%20%7B%20Notify%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%28Notify%29%3B%0A%3C/code%3E%3C/pre%3E%0A%3Ch3%3E%u4EE3%u7801%u6F14%u793A%3C/h3%3E%0A%3Ch4%3E%u57FA%u7840%u7528%u6CD5%3C/h4%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-js%22%3ENotify%28%3Cspan%20class%3D%22hljs-string%22%3E%27%u901A%u77E5%u5185%u5BB9%27%3C/span%3E%29%3B%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E%u81EA%u5B9A%u4E49%u914D%u7F6E%3C/h4%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-js%22%3ENotify%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%u901A%u77E5%u5185%u5BB9%27%3C/span%3E%2C%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Eduration%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-number%22%3E1000%3C/span%3E%2C%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Ebackground%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27%231989fa%27%3C/span%3E%0A%7D%29%3B%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E%u7EC4%u4EF6%u5185%u8C03%u7528%3C/h4%3E%0A%3Cp%3E%u5F15%u5165%20Notify%20%u7EC4%u4EF6%u540E%uFF0C%u4F1A%u81EA%u52A8%u5728%20Vue%20%u7684%20prototype%20%u4E0A%u6302%u8F7D%20%24notify%20%u65B9%u6CD5%uFF0C%u4FBF%u4E8E%u5728%u7EC4%u4EF6%u5185%u8C03%u7528%u3002%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.%24notify%28%3Cspan%20class%3D%22hljs-string%22%3E%27%u63D0%u793A%u6587%u6848%27%3C/span%3E%29%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%3ENotify%3C/td%3E%0A%3Ctd%3E%3Ccode%3Eoptions%20%7C%20message%3C/code%3E%3C/td%3E%0A%3Ctd%3Enotify%20%u5B9E%u4F8B%3C/td%3E%0A%3Ctd%3E%u5C55%u793A%u63D0%u793A%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3ENotify.clear%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%u63D0%u793A%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3ENotify.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%20Notify%20%u751F%u6548%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3ENotify.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%20Notify%20%u751F%u6548%3C/td%3E%0A%3C/tr%3E%0A%3C/tbody%3E%0A%3C/table%3E%0A%3Ch3%3EOptions%3C/h3%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%3Emessage%3C/td%3E%0A%3Ctd%3E%u5C55%u793A%u6587%u6848%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E1.4.7%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eduration%3C/td%3E%0A%3Ctd%3E%u5C55%u793A%u65F6%u957F%28ms%29%uFF0C%u503C%u4E3A%200%20%u65F6%uFF0Cnotify%20%u4E0D%u4F1A%u6D88%u5931%3C/td%3E%0A%3Ctd%3E%3Ccode%3ENumber%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E3000%3C/code%3E%3C/td%3E%0A%3Ctd%3E1.4.7%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Ecolor%3C/td%3E%0A%3Ctd%3E%u5B57%u4F53%u989C%u8272%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%23fff%3C/code%3E%3C/td%3E%0A%3Ctd%3E1.4.7%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Ebackground%3C/td%3E%0A%3Ctd%3E%u80CC%u666F%u989C%u8272%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%23f44%3C/code%3E%3C/td%3E%0A%3Ctd%3E1.4.7%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.6.0%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 C=this.$createElement;return(this._self._c||C)("section",{domProps:{innerHTML:this._s(this.content)}})}],!1,null,null,null);E.default=A.exports}}]); |