vant/v1/async_29.e7e5622d.js
2024-04-20 08:49:23 +00:00

1 line
1.3 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{144:function(e,n,s){"use strict";var t=s(72);s.n(t).a},145:function(e,n,s){(e.exports=s(12)(!1)).push([e.i,".demo-pull-refresh .van-pull-refresh,\n.demo-pull-refresh .van-pull-refresh__track {\n height: calc(100vh - 50px);\n}\n.demo-pull-refresh p {\n margin: 10px 0 0 15px;\n}\n",""])},195:function(e,n,s){"use strict";s.r(n);var t={i18n:{"zh-CN":{text:"刷新次数",success:"刷新成功"},"en-US":{text:"Refresh Count",success:"Refresh success"}},data:function(){return{count:0,isLoading:!1}},methods:{onRefresh:function(){var e=this;setTimeout(function(){e.$toast(e.$t("success")),e.isLoading=!1,e.count++},500)}}},o=(s(144),s(7)),r=Object(o.a)(t,function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("demo-section",{attrs:{name:"pull-refresh"}},[s("van-pull-refresh",{on:{refresh:e.onRefresh},model:{value:e.isLoading,callback:function(n){e.isLoading=n},expression:"isLoading"}},[s("demo-block",{attrs:{title:e.$t("basicUsage")}},[s("p",[e._v(e._s(e.$t("text"))+": "+e._s(e.count))])])],1)],1)},[],!1,null,null,null);n.default=r.exports},72:function(e,n,s){var t=s(145);"string"==typeof t&&(t=[[e.i,t,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};s(13)(t,o);t.locals&&(e.exports=t.locals)}}]);