Files
safePower/dist/assets/087AC4D233B64EB0index-legacy.CrRBj97e.js
xiaozhiyong 9c5961efe9 更新
2026-04-29 09:15:49 +08:00

5 lines
5.4 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*!
Build based on gin-vue-admin
Time : 1776662816000 */
!function(){function t(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return n(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function e(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,n,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",i=o.toStringTag||"@@toStringTag";function a(e,o,u,i){var a=o&&o.prototype instanceof l?o:l,f=Object.create(a.prototype);return r(f,"_invoke",function(e,r,o){var u,i,a,l=0,f=o||[],s=!1,d={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(n,e){return u=n,i=0,a=t,d.n=e,c}};function p(e,r){for(i=e,a=r,n=0;!s&&l&&!o&&n<f.length;n++){var o,u=f[n],p=d.p,y=u[2];e>3?(o=y===r)&&(a=u[(i=u[4])?5:(i=3,3)],u[4]=u[5]=t):u[0]<=p&&((o=e<2&&p<u[1])?(i=0,d.v=r,d.n=u[1]):p<y&&(o=e<3||u[0]>r||r>y)&&(u[4]=e,u[5]=r,d.n=y,i=0))}if(o||e>1)return c;throw s=!0,r}return function(o,f,y){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&p(f,y),i=f,a=y;(n=i<2?t:a)||!s;){u||(i?i<3?(i>1&&(d.n=-1),p(i,a)):d.n=a:d.v=a);try{if(l=2,u){if(i||(o="next"),n=u[o]){if(!(n=n.call(u,a)))throw TypeError("iterator result is not an object");if(!n.done)return n;a=n.value,i<2&&(i=0)}else 1===i&&(n=u.return)&&n.call(u),i<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),i=1);u=t}else if((n=(s=d.n<0)?a:e.call(r,d))!==c)break}catch(n){u=t,i=1,a=n}finally{l=1}}return{value:n,done:s}}}(e,u,i),!0),f}var c={};function l(){}function f(){}function s(){}n=Object.getPrototypeOf;var d=[][u]?n(n([][u]())):(r(n={},u,function(){return this}),n),p=s.prototype=l.prototype=Object.create(d);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,r(t,i,"GeneratorFunction")),t.prototype=Object.create(p),t}return f.prototype=s,r(p,"constructor",s),r(s,"constructor",f),f.displayName="GeneratorFunction",r(s,i,"GeneratorFunction"),r(p),r(p,i,"Generator"),r(p,u,function(){return this}),r(p,"toString",function(){return"[object Generator]"}),(e=function(){return{w:a,m:y}})()}function r(t,n,e,o){var u=Object.defineProperty;try{u({},"",{})}catch(t){u=0}r=function(t,n,e,o){function i(n,e){r(t,n,function(t){return this._invoke(n,e,t)})}n?u?u(t,n,{value:e,enumerable:!o,configurable:!o,writable:!o}):t[n]=e:(i("next",0),i("throw",1),i("return",2))},r(t,n,e,o)}function o(t,n,e,r,o,u,i){try{var a=t[u](i),c=a.value}catch(t){return void e(t)}a.done?n(c):Promise.resolve(c).then(r,o)}function u(t){return function(){var n=this,e=arguments;return new Promise(function(r,u){var i=t.apply(n,e);function a(t){o(i,r,u,a,c,"next",t)}function c(t){o(i,r,u,a,c,"throw",t)}a(void 0)})}}System.register(["./087AC4D233B64EB0warningBar-legacy.C8yHdBbq.js","./087AC4D233B64EB0index-legacy.Bru8kZfA.js"],function(n,r){"use strict";var o,i,a,c,l,f,s,d,p,y,m,b;return{setters:[function(t){o=t._},function(t){i=t.s,a=t.a,c=t.r,l=t.g,f=t.c,s=t.o,d=t.f,p=t.b,y=t.w,m=t.h,b=t.E}],execute:function(){var r=function(t){return i({url:"/email/emailTest",method:"post",data:t})},v={class:"gva-form-box"};n("default",Object.assign({name:"Email"},{__name:"index",setup:function(n){var i=a(null),h=c({to:"",subject:"",body:""}),g=function(){var t=u(e().m(function t(){return e().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,r();case 1:0===t.v.code&&b.success("发送成功");case 2:return t.a(2)}},t)}));return function(){return t.apply(this,arguments)}}(),j=function(){var t=u(e().m(function t(){return e().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,r();case 1:0===t.v.code&&b.success("发送成功,请查收");case 2:return t.a(2)}},t)}));return function(){return t.apply(this,arguments)}}();return function(n,e){var r=l("el-input"),u=l("el-form-item"),a=l("el-button"),c=l("el-form");return s(),f("div",null,[d(o,{title:"需要提前配置email配置文件为防止不必要的垃圾邮件在线体验功能不开放此功能体验。"}),p("div",v,[d(c,{ref_key:"emailForm",ref:i,"label-position":"right","label-width":"80px",model:h},{default:y(function(){return[d(u,{label:"目标邮箱"},{default:y(function(){return[d(r,{modelValue:h.to,"onUpdate:modelValue":e[0]||(e[0]=function(t){return h.to=t})},null,8,["modelValue"])]}),_:1}),d(u,{label:"邮件"},{default:y(function(){return[d(r,{modelValue:h.subject,"onUpdate:modelValue":e[1]||(e[1]=function(t){return h.subject=t})},null,8,["modelValue"])]}),_:1}),d(u,{label:"邮件内容"},{default:y(function(){return[d(r,{modelValue:h.body,"onUpdate:modelValue":e[2]||(e[2]=function(t){return h.body=t}),type:"textarea"},null,8,["modelValue"])]}),_:1}),d(u,null,{default:y(function(){return[d(a,{onClick:g},{default:y(function(){return t(e[3]||(e[3]=[m("发送测试邮件",-1)]))}),_:1}),d(a,{onClick:j},{default:y(function(){return t(e[4]||(e[4]=[m("发送邮件",-1)]))}),_:1})]}),_:1})]}),_:1},8,["model"])])])}}}))}}})}();