cash-protocol-legacy.7b93434d.js 1.2 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.48c8d62c.js"],(function(e){"use strict";var n,r,o,c;return{setters:[function(t){n=t.d,r=t.m,o=t.f,c=t.c}],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"},[c("div",{style:"font-size: 14px;padding: 12px;color: #333;line-height: 1.4;",innerHTML:this.protocolHTML},null)])}}))}}}))}();