(this.webpackJsonpfronted=this.webpackJsonpfronted||[]).push([[0],{268:function(n,t,e){"use strict";e.r(t);var o=e(7),c=e.n(o),i=e(27),a=e.n(i),r=(e(32),e(33),e(12)),s=e.n(r),u=e(13),d=e(3),l="http://wanzq.vaiwan.com";u.ready((function(){u.runtime.permission.requestAuthCode({corpId:"ding9f50b15bccd16741",onSuccess:function(n){alert(JSON.stringify(n)),s.a.get(l+"/login?authCode="+n.code).then((function(n){alert(JSON.stringify(n))})).catch((function(n){alert(JSON.stringify(n))}))},onFail:function(n){alert(JSON.stringify(n))}})}));var f=function(){return Object(d.jsx)("div",{className:"App",children:Object(d.jsx)("header",{className:"App-header",children:Object(d.jsx)("button",{onClick:function(){s()({url:l+"/process/instance",method:"post",data:{detailForms:[{name:"\u7269\u54c1\u660e\u7ec6"}],originatorUserId:"043217290519980938",textForms:[{name:"\u7269\u54c1\u7528\u9014",value:"\u6d4b\u8bd5\u7269\u54c1\u9886\u7528"},{name:"\u9886\u7528\u8be6\u60c5",value:"\u9886\u7528\u8be6\u60c51"}],deptId:1},headers:{"Content-Type":"application/json"}}).then((function(n){console.log(n)})).catch((function(n){console.log(n)}))},children:"\u9886\u7528\u5e76\u63d0\u4ea4\u5ba1\u6279"})})})},h=function(n){n&&n instanceof Function&&e.e(3).then(e.bind(null,269)).then((function(t){var e=t.getCLS,o=t.getFID,c=t.getFCP,i=t.getLCP,a=t.getTTFB;e(n),o(n),c(n),i(n),a(n)}))};a.a.render(Object(d.jsx)(c.a.StrictMode,{children:Object(d.jsx)(f,{})}),document.getElementById("root")),h()},32:function(n,t,e){},33:function(n,t,e){}},[[268,1,2]]]);
//# sourceMappingURL=main.4890b99d.chunk.js.map