2022-12-12 09:49:04 +08:00

2 lines
20 KiB
JavaScript
Vendored
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see 125.js.LICENSE.txt */
"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[125],{65125:(t,e,r)=>{r.r(e),r.d(e,{default:()=>h});var n=r(20629),o=r(80641),i=r(33875);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){l(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function l(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==a(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===a(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(){u=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function d(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),s=new A(o||[]);return n(a,"_invoke",{value:S(t,r,s)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var f={};function h(){}function v(){}function g(){}var m={};l(m,i,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(E([])));w&&w!==e&&r.call(w,i)&&(m=w);var b=g.prototype=h.prototype=Object.create(m);function _(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function $(t,e){function o(n,i,s,c){var l=p(t[n],t,i);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==a(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){o("next",t,s,c)}),(function(t){o("throw",t,s,c)})):e.resolve(d).then((function(t){u.value=t,s(u)}),(function(t){return o("throw",t,s,c)}))}c(l.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function S(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return I()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=L(a,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=p(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function L(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,L(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=p(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function E(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return v.prototype=g,n(b,"constructor",{value:g,configurable:!0}),n(g,"constructor",{value:v,configurable:!0}),v.displayName=l(g,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,l(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},_($.prototype),l($.prototype,s,(function(){return this})),t.AsyncIterator=$,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new $(d(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},_(b),l(b,c,"Generator"),l(b,i,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=E,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function d(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function p(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){d(i,n,o,a,s,"next",t)}function s(t){d(i,n,o,a,s,"throw",t)}a(void 0)}))}}const f={data:function(){return{loadIng:0,languageList:i.s0,languageType:i.AX,codeNeed:!1,codeUrl:$A.apiUrl("users/login/codeimg?_="+Math.random()),loginType:"login",loginJump:!1,email:"",password:"",password2:"",code:"",invite:"",needStartHome:!1,needInvite:!1,subscribe:null,privacyShow:!1}},mounted:function(){var t=this;return p(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=!!t.$isEEUiApp,!e.t0){e.next=6;break}return e.next=4,$A.IDBString("cachePrivacyShow");case 4:e.t1=e.sent,e.t0="no"!==e.t1;case 6:return t.privacyShow=e.t0,e.next=9,$A.IDBString("cacheLoginEmail");case 9:if(e.t2=e.sent,e.t2){e.next=12;break}e.t2="";case 12:t.email=e.t2,t.getDemoAccount(),t.getNeedStartHome(),t.isSoftware?t.chackServerUrl().catch((function(t){})):t.setServerUrl("").catch((function(t){})),t.subscribe=o.Store.subscribe("useSSOLogin",(function(){t.inputServerUrl()}));case 17:case"end":return e.stop()}}),e)})))()},beforeDestroy:function(){this.subscribe&&(this.subscribe.unsubscribe(),this.subscribe=null)},activated:function(){this.loginType="login",this.$Electron&&this.$Electron.sendMessage("subWindowDestroyAll")},deactivated:function(){this.loginJump=!1,this.password="",this.password2="",this.code="",this.invite=""},computed:c(c({},(0,n.rn)(["cacheServerUrl","themeMode","themeList"])),{},{isSoftware:function(){return this.$Electron||this.$isEEUiApp},currentLanguage:function(){return i.s0[i.AX]||"Language"},welcomeTitle:function(){return"Welcome "+(window.systemInfo.title||"DooTask")},loginText:function(){var t="login"==this.loginType?"登录":"注册";return this.loginJump&&(t+="成功..."),t}}),watch:{$route:function(t){var e=this;"reg"==t.query.type&&this.$nextTick((function(){e.loginType="reg"}))},loginType:function(t){"reg"==t&&this.getNeedInvite()}},methods:{goHome:function(){this.needStartHome&&this.goForward({name:"index",query:{action:"index"}})},setTheme:function(t){this.$store.dispatch("setTheme",t)},getDemoAccount:function(){var t=this;this.isNotServer()||this.$store.dispatch("call",{url:"system/demo"}).then((function(e){var r=e.data;r.account&&(t.email=r.account,t.password=r.password)})).catch((function(t){}))},getNeedStartHome:function(){var t=this;this.isNotServer()||this.$store.dispatch("call",{url:"system/get/starthome"}).then((function(e){var r=e.data;t.needStartHome=!!r.need_start})).catch((function(e){t.needStartHome=!1}))},getNeedInvite:function(){var t=this;this.$store.dispatch("call",{url:"users/reg/needinvite"}).then((function(e){var r=e.data;t.needInvite=!!r.need})).catch((function(e){t.needInvite=!1}))},forgotPassword:function(){$A.modalWarning("请联系管理员!")},reCode:function(){this.codeUrl=$A.apiUrl("users/login/codeimg?_="+Math.random())},inputServerUrl:function(){var t=this;if(!this.privacyShow){var e=$A.rightDelete(this.cacheServerUrl,"/api/");e=$A.leftDelete(e,"http://"),$A.modalInput({title:"使用 SSO 登录",value:e,placeholder:"请输入服务器地址",onOk:function(e){return e?t.inputServerChack($A.trim(e)):"请输入服务器地址"}})}},inputServerChack:function(t){var e=this;return new Promise((function(r,n){var o=t;/\/api\/$/.test(o)||(o+=$A.rightExists(o,"/")?"api/":"/api/"),/^https*:\/\//i.test(o)||(o="https://".concat(o)),e.$store.dispatch("call",{url:"".concat(o,"system/setting"),checkNetwork:!1}).then(p(u().mark((function t(){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.setServerUrl(o);case 2:r();case 3:case"end":return t.stop()}}),t)})))).catch((function(o){var i=o.ret,a=o.msg;if(-1001===i){if(!/^https*:\/\//i.test(t))return void e.inputServerChack("http://".concat(t)).then(r).catch(n);a="服务器地址无效"}n(a)}))}))},chackServerUrl:function(t){var e=this;return new Promise((function(r,n){e.isNotServer()?(e.inputServerUrl(),!0===t&&e.$nextTick((function(t){return $A.messageWarning("请设置服务器")})),n()):r()}))},setServerUrl:function(t){var e=this;return p(u().mark((function r(){return u().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,$A.IDBSet("cachePrivacyShow",t?"no":"yes");case 2:if(t==e.cacheServerUrl){r.next=6;break}return r.next=5,$A.IDBSet("cacheServerUrl",t);case 5:$A.reloadUrl();case 6:case"end":return r.stop()}}),r)})))()},isNotServer:function(){var t=$A.getDomain(window.systemInfo.apiUrl);return this.isSoftware&&(""==t||"public"==t)},onBlur:function(){var t=this;"login"==this.loginType&&this.email?(this.loadIng++,this.$store.dispatch("call",{url:"users/login/needcode",data:{email:this.email}}).then((function(){t.reCode(),t.codeNeed=!0})).catch((function(e){t.codeNeed=!1})).finally((function(e){t.loadIng--}))):this.codeNeed=!1},onPrivacy:function(t){t?(this.privacyShow=!1,this.chackServerUrl().catch((function(t){}))):$A.eeuiAppGoDesktop()},onLogin:function(){var t=this;this.chackServerUrl(!0).then((function(){return t.email=$A.trim(t.email),t.password=$A.trim(t.password),t.password2=$A.trim(t.password2),t.code=$A.trim(t.code),t.invite=$A.trim(t.invite),$A.isEmail(t.email)?t.password?"reg"==t.loginType&&t.password!=t.password2?($A.messageWarning("确认密码输入不一致"),void t.$refs.password2.focus()):(t.loadIng++,void t.$store.dispatch("call",{url:"users/login",data:{type:t.loginType,email:t.email,password:t.password,code:t.code,invite:t.invite}}).then((function(e){var r=e.data;$A.IDBSave("cacheLoginEmail",t.email),t.codeNeed=!1,t.$store.dispatch("handleClearCache",r).then((function(){t.goNext()})).catch((function(e){t.goNext()}))})).catch((function(e){var r=e.data,n=e.msg;"email"===r.code?$A.modalWarning(n):$A.modalError(n),"need"===r.code&&(t.reCode(),t.codeNeed=!0,t.$refs.code.focus())})).finally((function(e){t.loadIng--}))):($A.messageWarning("请输入密码"),void t.$refs.password.focus()):($A.messageWarning("请输入正确的邮箱地址"),void t.$refs.email.focus())}))},goNext:function(){this.loginJump=!0;var t=decodeURIComponent($A.getObject(this.$route.query,"from"));t?window.location.replace(t):this.goForward({name:"manage-dashboard"},!0)},onLanguage:function(t){(0,i.m0)(t)}}};const h=(0,r(51900).Z)(f,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-login"},[e("PageTitle",{attrs:{title:t.$L("登录")}}),t._v(" "),e("div",{staticClass:"login-body"},[e("div",{staticClass:"login-logo no-dark-content",class:{"can-click":t.needStartHome},on:{click:t.goHome}}),t._v(" "),e("div",{staticClass:"login-box"},[e("div",{staticClass:"login-title"},[t._v(t._s(t.welcomeTitle))]),t._v(" "),"reg"==t.loginType?e("div",{staticClass:"login-subtitle"},[t._v(t._s(t.$L("输入您的信息以创建帐户。")))]):e("div",{staticClass:"login-subtitle"},[t._v(t._s(t.$L("输入您的凭证以访问您的帐户。")))]),t._v(" "),e("div",{staticClass:"login-input"},[t.isSoftware&&t.cacheServerUrl?e("Input",{attrs:{value:t.$A.getDomain(t.cacheServerUrl),prefix:"ios-globe-outline",size:"large",readonly:"",clearable:""},on:{"on-clear":function(e){return t.setServerUrl("")}}}):t._e(),t._v(" "),e("Input",{ref:"email",attrs:{prefix:"ios-mail-outline",placeholder:t.$L("输入您的电子邮件"),type:"email",size:"large",clearable:""},on:{"on-enter":t.onLogin,"on-blur":t.onBlur},model:{value:t.email,callback:function(e){t.email=e},expression:"email"}}),t._v(" "),e("Input",{ref:"password",attrs:{prefix:"ios-lock-outline",placeholder:t.$L("输入您的密码"),type:"password",size:"large",clearable:""},on:{"on-enter":t.onLogin},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}}),t._v(" "),"reg"==t.loginType?e("Input",{ref:"password2",attrs:{prefix:"ios-lock-outline",placeholder:t.$L("输入确认密码"),type:"password",size:"large",clearable:""},on:{"on-enter":t.onLogin},model:{value:t.password2,callback:function(e){t.password2=e},expression:"password2"}}):t._e(),t._v(" "),"reg"==t.loginType&&t.needInvite?e("Input",{ref:"invite",staticClass:"login-code",attrs:{placeholder:t.$L("请输入注册邀请码"),type:"text",size:"large",clearable:""},on:{"on-enter":t.onLogin},model:{value:t.invite,callback:function(e){t.invite=e},expression:"invite"}},[e("span",{attrs:{slot:"prepend"},slot:"prepend"},[t._v(" "+t._s(t.$L("邀请码"))+" ")])]):t._e(),t._v(" "),"login"==t.loginType&&t.codeNeed?e("Input",{ref:"code",staticClass:"login-code",attrs:{placeholder:t.$L("输入图形验证码"),type:"text",size:"large",clearable:""},on:{"on-enter":t.onLogin},model:{value:t.code,callback:function(e){t.code=e},expression:"code"}},[e("Icon",{staticClass:"login-icon",attrs:{slot:"prepend",type:"ios-checkmark-circle-outline"},slot:"prepend"}),t._v(" "),e("div",{staticClass:"login-code-end",attrs:{slot:"append"},on:{click:t.reCode},slot:"append"},[e("img",{attrs:{src:t.codeUrl}})])],1):t._e(),t._v(" "),e("Button",{attrs:{type:"primary",loading:t.loadIng>0||t.loginJump,size:"large",long:""},on:{click:t.onLogin}},[t._v(t._s(t.$L(t.loginText)))]),t._v(" "),"reg"==t.loginType?e("div",{staticClass:"login-switch"},[t._v(t._s(t.$L("已经有帐号?"))),e("a",{attrs:{href:"javascript:void(0)"},on:{click:function(e){t.loginType="login"}}},[t._v(t._s(t.$L("登录帐号")))])]):e("div",{staticClass:"login-switch"},[t._v(t._s(t.$L("还没有帐号?"))),e("a",{attrs:{href:"javascript:void(0)"},on:{click:function(e){t.loginType="reg"}}},[t._v(t._s(t.$L("注册帐号")))])])],1)]),t._v(" "),e("div",{staticClass:"login-bottom"},[e("Dropdown",{attrs:{trigger:"click",placement:"bottom-start"}},[e("div",{staticClass:"login-setting"},[t._v("\n "+t._s(t.$L("设置"))+"\n "),e("i",{staticClass:"taskfont"},[t._v("")])]),t._v(" "),e("DropdownMenu",{staticClass:"login-setting-menu",attrs:{slot:"list"},slot:"list"},[e("Dropdown",{attrs:{placement:"right-start",transfer:""},on:{"on-click":t.setTheme}},[e("DropdownItem",[e("div",{staticClass:"login-setting-item"},[t._v("\n "+t._s(t.$L("主题皮肤"))+"\n "),e("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),t._v(" "),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.themeList,(function(r,n){return e("DropdownItem",{key:n,attrs:{name:r.value,selected:t.themeMode===r.value}},[t._v(t._s(t.$L(r.name)))])})),1)],1),t._v(" "),e("Dropdown",{attrs:{placement:"right-start",transfer:""},on:{"on-click":t.onLanguage}},[e("DropdownItem",{attrs:{divided:""}},[e("div",{staticClass:"login-setting-item"},[t._v("\n "+t._s(t.currentLanguage)+"\n "),e("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),t._v(" "),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.languageList,(function(r,n){return e("DropdownItem",{key:n,attrs:{name:n,selected:t.languageType===n}},[t._v(t._s(r))])})),1)],1)],1)],1),t._v(" "),e("div",{staticClass:"login-forgot"},[t._v(t._s(t.$L("忘记密码了?"))),e("a",{attrs:{href:"javascript:void(0)"},on:{click:t.forgotPassword}},[t._v(t._s(t.$L("重置密码")))])])],1)]),t._v(" "),e("Modal",{attrs:{title:t.$L("隐私协议"),"mask-closable":!1},model:{value:t.privacyShow,callback:function(e){t.privacyShow=e},expression:"privacyShow"}},[e("div",{staticClass:"privacy-content"},[e("div",[t._v("欢迎使用本软件!")]),t._v(" "),e("p",[t._v("在您使用本软件前,请您认真阅读并了解相应的"),e("a",{attrs:{target:"_blank",href:t.$A.apiUrl("privacy")}},[t._v("《"+t._s(t.$L("隐私政策"))+"》")]),t._v(",以了解我们的服务内容和您相关个人信息的处理规则。我们将严格的按照隐私服务协议为您提供服务,保护您的个人信息。")])]),t._v(" "),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(e){return t.onPrivacy(!1)}}},[t._v(t._s(t.$L("不同意")))]),t._v(" "),e("Button",{attrs:{type:"primary"},on:{click:function(e){return t.onPrivacy(!0)}}},[t._v(t._s(t.$L("同意")))])],1)])],1)}),[],!1,null,null,null).exports}}]);