cash-protocol-legacy.6d6c75a5.js 1.3 KB

12
  1. !function(){function t(t,e,n,r,o,c,a){try{var i=t[c](a),u=i.value}catch(s){return void n(s)}i.done?e(u):Promise.resolve(u).then(r,o)}System.register(["./index-legacy.c1f63540.js"],(function(e){"use strict";var n,r,o,c,a,i;return{setters:[function(t){n=t.d,r=t.m,o=t.g,c=t.c,a=t.f,i=t.aj}],execute:function(){e("default",n({name:"preview-protocol",data:function(){return{protocolHTML:""}},mounted:function(){var e,n=this;return(e=regeneratorRuntime.mark((function t(){var e,c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,n.protocolHTML){t.next=7;break}return t.next=4,r.get(o.platformApi+"/open/userContractRecord/queryLatestContractTemplate",{params:{contractType:"WITHDRAW"}});case 4:e=t.sent,c=e.data,n.protocolHTML=c.contractTemplateContent||"";case 7:t.next=11;break;case 9:t.prev=9,t.t0=t.catch(0);case 11:case"end":return t.stop()}}),t,null,[[0,9]])})),function(){var n=this,r=arguments;return new Promise((function(o,c){var a=e.apply(n,r);function i(e){t(a,o,c,i,u,"next",e)}function u(e){t(a,o,c,i,u,"throw",e)}i(void 0)}))})()},render:function(){return c("div",{id:"mProtocol"},[a().isApp&&c(i,null,null),c("div",{style:"font-size: 14px;padding: 12px;color: #333;line-height: 1.4;",innerHTML:this.protocolHTML},null)])}}))}}}))}();