1 |
- !function(){function e(e,n,t,r,o,a,c){try{var u=e[a](c),i=u.value}catch(s){return void t(s)}u.done?n(i):Promise.resolve(i).then(r,o)}function n(n){return function(){var t=this,r=arguments;return new Promise((function(o,a){var c=n.apply(t,r);function u(n){e(c,o,a,u,i,"next",n)}function i(n){e(c,o,a,u,i,"throw",n)}u(void 0)}))}}System.register(["./index-legacy.f8641610.js"],(function(e){"use strict";var t,r;return{setters:[function(e){t=e.U,r=e.e}],execute:function(){e("o",{0:"待支付",1:"待发货",2:"已发货",3:"已完成",4:"已关闭",5:"无效订单",6:"待支付"});var o=e("c",t(0));e("g",n(regeneratorRuntime.mark((function e(){var n,t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r.get("/api-mall-portal/home/content",{hideLoading:!0});case 3:n=e.sent,t=n.data.count,o.value=t,e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])}))))}}}))}();
|