mirror of https://github.com/halo-dev/halo
parent
66e9c98d48
commit
308aefacca
|
@ -9,7 +9,7 @@ apply plugin: 'io.spring.dependency-management'
|
|||
|
||||
group = 'run.halo.app'
|
||||
archivesBaseName = 'halo'
|
||||
version = '1.2.0-beta.1'
|
||||
version = '1.2.0-beta.2'
|
||||
sourceCompatibility = '1.8'
|
||||
description = 'Halo, personal blog system developed in Java.'
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
body{height:100%;background-color:#f5f5f5}.container-wrapper{background:#fff;position:absolute;border-radius:5px;top:45%;left:50%;margin:-160px 0 0 -160px;width:320px;padding:18px 28px 28px 28px;-webkit-box-shadow:-4px 7px 46px 2px rgba(0,0,0,.1);box-shadow:-4px 7px 46px 2px rgba(0,0,0,.1)}.container-wrapper .halo-logo{margin-bottom:20px;text-align:center}.container-wrapper .halo-logo span{vertical-align:text-bottom;font-size:38px;display:inline-block;font-weight:600;color:#1790fe;background-image:linear-gradient(-20deg,#6e45e2,#88d3ce);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.container-wrapper .halo-logo span small{margin-left:5px;font-size:35%}.container-wrapper .tip{cursor:pointer;margin-left:.5rem;float:right}
|
|
@ -1 +0,0 @@
|
|||
body{height:100%;background-color:#f5f5f5}.container-wrapper{background:#fff;position:absolute;border-radius:5px;top:45%;left:50%;margin:-160px 0 0 -160px;width:320px;padding:18px 28px 28px 28px;-webkit-box-shadow:-4px 7px 46px 2px rgba(0,0,0,.1);box-shadow:-4px 7px 46px 2px rgba(0,0,0,.1)}.container-wrapper .halo-logo{margin-bottom:20px;text-align:center}.container-wrapper .halo-logo span{vertical-align:text-bottom;font-size:38px;display:inline-block;font-weight:600;color:#1790fe;background-image:linear-gradient(-20deg,#6e45e2,#88d3ce);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.container-wrapper .halo-logo span small{margin-left:5px;font-size:35%}.container-wrapper .tip{cursor:pointer;margin-left:.5rem;float:right}
|
File diff suppressed because one or more lines are too long
Binary file not shown.
After Width: | Height: | Size: 7.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.5 KiB |
|
@ -1 +1 @@
|
|||
<!DOCTYPE html><html lang=zh-cmn-Hans><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><meta name=robots content=noindex,nofllow><meta name=generator content="Halo 1.2.0-beta.1"><link rel=icon href=/logo.png><title>Halo Dashboard</title><style>#loader{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;border:solid 3px #e5e5e5;border-top-color:#333;border-radius:50%;width:30px;height:30px;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}</style><link href=/css/chunk-0b44f908.c76aeee1.css rel=prefetch><link href=/css/chunk-0e87dfa3.0e33e21a.css rel=prefetch><link href=/css/chunk-7b4a6534.0e33e21a.css rel=prefetch><link href=/css/chunk-7e9c61cd.e32891ce.css rel=prefetch><link href=/css/chunk-8adae550.ae3f2f3c.css rel=prefetch><link href=/css/chunk-966610cc.be194fd2.css rel=prefetch><link href=/css/chunk-db4f48dc.e76ee991.css rel=prefetch><link href=/js/chunk-0b44f908.4f129c2e.js rel=prefetch><link href=/js/chunk-0ba750a2.a3aae303.js rel=prefetch><link href=/js/chunk-0e87dfa3.613e35ea.js rel=prefetch><link href=/js/chunk-17f8cd22.212b0305.js rel=prefetch><link href=/js/chunk-27659703.4ea75fab.js rel=prefetch><link href=/js/chunk-2d0b383e.adb53737.js rel=prefetch><link href=/js/chunk-2d0b64bf.ee7f7ab3.js rel=prefetch><link href=/js/chunk-2d0b8b03.d1890be1.js rel=prefetch><link href=/js/chunk-2d0cf13d.d40d4f27.js rel=prefetch><link href=/js/chunk-2d21a35c.33d6a9d2.js rel=prefetch><link href=/js/chunk-2d221c57.5d8dcffe.js rel=prefetch><link href=/js/chunk-2d228c74.56913b27.js rel=prefetch><link href=/js/chunk-2d228d13.8662d997.js rel=prefetch><link href=/js/chunk-37a26d88.728cb7c7.js rel=prefetch><link href=/js/chunk-5889a1fc.7b49eaf0.js rel=prefetch><link href=/js/chunk-5b9394ac.474c8c42.js rel=prefetch><link href=/js/chunk-664d53d7.377af06e.js rel=prefetch><link href=/js/chunk-6709ac89.7a98f194.js rel=prefetch><link href=/js/chunk-76ee4b7f.677347b0.js rel=prefetch><link href=/js/chunk-7b4a6534.f1d63242.js rel=prefetch><link href=/js/chunk-7e9c61cd.15eaa9c8.js rel=prefetch><link href=/js/chunk-8adae550.cf26d4e7.js rel=prefetch><link href=/js/chunk-966610cc.22160297.js rel=prefetch><link href=/js/chunk-98555926.05f61e9d.js rel=prefetch><link href=/js/chunk-db4f48dc.00fbfdd6.js rel=prefetch><link href=/js/chunk-ddaf34b4.7faf5a6d.js rel=prefetch><link href=/js/chunk-ec5bbb3c.9b0a75e4.js rel=prefetch><link href=/js/chunk-f04cc1dc.2447c1e9.js rel=prefetch><link href=/css/app.01b9c5fe.css rel=preload as=style><link href=/css/chunk-vendors.473c34a0.css rel=preload as=style><link href=/js/app.3874b09d.js rel=preload as=script><link href=/js/chunk-vendors.a941ddfb.js rel=preload as=script><link href=/css/chunk-vendors.473c34a0.css rel=stylesheet><link href=/css/app.01b9c5fe.css rel=stylesheet></head><body><noscript><strong>We're sorry but vue-antd-pro doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app><div id=loader></div></div><script src=/js/chunk-vendors.a941ddfb.js></script><script src=/js/app.3874b09d.js></script></body></html>
|
||||
<!DOCTYPE html><html lang=zh-cmn-Hans><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><meta name=robots content=noindex,nofllow><meta name=generator content="Halo 1.2.0-beta.1"><link rel=icon href=/logo.png><title>Halo Dashboard</title><style>body {height: 100%;background-color: #f5f5f5;}#loader{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;border:solid 3px #e5e5e5;border-top-color:#333;border-radius:50%;width:30px;height:30px;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}</style><link href=/css/chunk-0b44f908.c76aeee1.css rel=prefetch><link href=/css/chunk-7e9c61cd.e32891ce.css rel=prefetch><link href=/css/chunk-8adae550.ae3f2f3c.css rel=prefetch><link href=/css/chunk-966610cc.be194fd2.css rel=prefetch><link href=/css/chunk-db4f48dc.e76ee991.css rel=prefetch><link href=/js/chunk-0b44f908.4bb4fac6.js rel=prefetch><link href=/js/chunk-0ba750a2.09c3ecc9.js rel=prefetch><link href=/js/chunk-17f8cd22.c1f70525.js rel=prefetch><link href=/js/chunk-27659703.8ee9e924.js rel=prefetch><link href=/js/chunk-2d0b383e.e8ccadf6.js rel=prefetch><link href=/js/chunk-2d0b64bf.41b6c26c.js rel=prefetch><link href=/js/chunk-2d0b8b03.7ad6f330.js rel=prefetch><link href=/js/chunk-2d0cf13d.681c4997.js rel=prefetch><link href=/js/chunk-2d213307.b1dcd466.js rel=prefetch><link href=/js/chunk-2d2165e6.4dbdf8c3.js rel=prefetch><link href=/js/chunk-2d21a35c.bc6f8019.js rel=prefetch><link href=/js/chunk-2d221c57.9693b8e1.js rel=prefetch><link href=/js/chunk-2d228c74.7e3f0c24.js rel=prefetch><link href=/js/chunk-2d228d13.656e977e.js rel=prefetch><link href=/js/chunk-37a26d88.56a14ff2.js rel=prefetch><link href=/js/chunk-5889a1fc.5ba47f6c.js rel=prefetch><link href=/js/chunk-595876d0.c8d65f3a.js rel=prefetch><link href=/js/chunk-5b9394ac.7a31c15d.js rel=prefetch><link href=/js/chunk-664d53d7.cbd634d4.js rel=prefetch><link href=/js/chunk-6709ac89.230de3ac.js rel=prefetch><link href=/js/chunk-76ee4b7f.38f0f48c.js rel=prefetch><link href=/js/chunk-7e9c61cd.56266ff7.js rel=prefetch><link href=/js/chunk-8adae550.0f21f62f.js rel=prefetch><link href=/js/chunk-966610cc.60ec64b2.js rel=prefetch><link href=/js/chunk-db4f48dc.09c3178d.js rel=prefetch><link href=/js/chunk-ddaf34b4.1ae47518.js rel=prefetch><link href=/js/chunk-ec5bbb3c.85b591fb.js rel=prefetch><link href=/js/chunk-f04cc1dc.44a808b9.js rel=prefetch><link href=/css/app.747e01d4.css rel=preload as=style><link href=/css/chunk-vendors.e151fbfd.css rel=preload as=style><link href=/js/app.e3b36e2c.js rel=preload as=script><link href=/js/chunk-vendors.1792b9fd.js rel=preload as=script><link href=/css/chunk-vendors.e151fbfd.css rel=stylesheet><link href=/css/app.747e01d4.css rel=stylesheet></head><body><noscript><strong>We're sorry but vue-antd-pro doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app><div id=loader></div></div><script src=//cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js></script><script src=//cdn.jsdelivr.net/npm/vue-router@3.1.3/dist/vue-router.min.js></script><script src=//cdn.jsdelivr.net/npm/vuex@3.1.1/dist/vuex.min.js></script><script src=//cdn.jsdelivr.net/npm/axios@0.19.0/dist/axios.min.js></script><script src=//cdn.jsdelivr.net/npm/marked@0.8.0/marked.min.js></script><script src=/js/chunk-vendors.1792b9fd.js></script><script src=/js/app.e3b36e2c.js></script></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0e87dfa3"],{1439:function(e,t,a){"use strict";var i=a("72e8"),n=a.n(i);n.a},"72e8":function(e,t,a){},ac2a:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"container-wrapper"},[e._m(0),a("div",{staticClass:"animated"},[a("a-form",{attrs:{layout:"vertical"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleLogin(t)}}},[a("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.1s"}},[a("a-input",{attrs:{placeholder:"用户名/邮箱"},model:{value:e.username,callback:function(t){e.username=t},expression:"username"}},[a("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),a("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.2s"}},[a("a-input",{attrs:{type:"password",placeholder:"密码"},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}},[a("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),a("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.3s"}},[a("a-button",{attrs:{type:"primary",block:!0},on:{click:e.handleLogin}},[e._v("登录")])],1),a("a-row",[a("router-link",{attrs:{to:{name:"ResetPassword"}}},[e.resetPasswordButton?a("a",{staticClass:"tip animated fadeInRight",attrs:{href:"javascript:void(0);"}},[e._v("\n 找回密码\n ")]):e._e()]),a("a",{staticClass:"tip animated fadeInUp",style:{"animation-delay":"0.4s"},on:{click:e.handleApiModifyModalOpen}},[e._v("\n API 设置\n ")])],1),a("a-modal",{attrs:{title:"API 设置",visible:e.apiModifyVisible},on:{ok:e.handleApiModifyOk,cancel:e.handleApiModifyCancel}},[a("a-form",[a("a-form-item",{attrs:{extra:"如果 halo admin 不是独立部署,请不要更改此 API"}},[a("a-input",{model:{value:e.apiUrl,callback:function(t){e.apiUrl=t},expression:"apiUrl"}})],1),a("a-form-item",[a("a-button",{on:{click:e.handleApiUrlRestore}},[e._v("\n 恢复默认\n ")])],1)],1)],1)],1)],1)])},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"halo-logo animated fadeInUp"},[a("span",[e._v("Halo")])])}],r=(a("8e6e"),a("ac6a"),a("456d"),a("a481"),a("bd86")),s=a("2f62");function o(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function l(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?o(Object(a),!0).forEach((function(t){Object(r["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):o(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var c={data:function(){return{username:null,password:null,apiModifyVisible:!1,defaultApiBefore:window.location.protocol+"//",apiUrl:window.location.host,resetPasswordButton:!1}},computed:l({},Object(s["c"])({defaultApiUrl:"apiUrl"})),created:function(){var e=this;document.addEventListener("keydown",(function(t){72===t.keyCode&&t.altKey&&t.shiftKey&&e.toggleHidden()}))},methods:l({},Object(s["b"])(["login","loadUser","loadOptions"]),{},Object(s["d"])({setApiUrl:"SET_API_URL",restoreApiUrl:"RESTORE_API_URL"}),{handleLogin:function(){var e=this;this.username?this.password?this.login({username:this.username,password:this.password}).then((function(t){e.loginSuccess()})):this.$message.warn("密码不能为空!"):this.$message.warn("用户名不能为空!")},loginSuccess:function(){this.loadUser(),this.loadOptions(),this.$route.query.redirect?this.$router.replace(this.$route.query.redirect):this.$router.replace({name:"Dashboard"})},handleApiModifyModalOpen:function(){this.apiUrl=this.defaultApiUrl,this.apiModifyVisible=!0},handleApiModifyOk:function(){this.setApiUrl(this.apiUrl),this.apiModifyVisible=!1},handleApiModifyCancel:function(){this.apiModifyVisible=!1},handleApiUrlRestore:function(){this.restoreApiUrl(),this.apiUrl=this.defaultApiUrl},toggleHidden:function(){this.resetPasswordButton=!this.resetPasswordButton}})},d=c,p=(a("1439"),a("2877")),u=Object(p["a"])(d,i,n,!1,null,null,null);t["default"]=u.exports}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d2165e6"],{c1bd:function(a,e,t){"use strict";t.r(e);var s=function(){var a=this,e=a.$createElement,t=a._self._c||e;return t("div",{staticClass:"container-wrapper"},[a._m(0),t("div",{staticClass:"animated"},[t("a-form",{attrs:{layout:"vertical"}},[t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.1s"}},[t("a-input",{attrs:{placeholder:"用户名"},model:{value:a.resetParam.username,callback:function(e){a.$set(a.resetParam,"username",e)},expression:"resetParam.username"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.2s"}},[t("a-input",{attrs:{placeholder:"邮箱"},model:{value:a.resetParam.email,callback:function(e){a.$set(a.resetParam,"email",e)},expression:"resetParam.email"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.3s"}},[t("a-input",{attrs:{type:"password",placeholder:"验证码"},model:{value:a.resetParam.code,callback:function(e){a.$set(a.resetParam,"code",e)},expression:"resetParam.code"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"safety-certificate"},slot:"prefix"}),t("a",{attrs:{slot:"addonAfter",href:"javascript:void(0);"},on:{click:a.handleSendCode},slot:"addonAfter"},[a._v("\n 获取\n ")])],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.4s"}},[t("a-input",{attrs:{type:"password",placeholder:"新密码"},model:{value:a.resetParam.password,callback:function(e){a.$set(a.resetParam,"password",e)},expression:"resetParam.password"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.5s"}},[t("a-input",{attrs:{type:"password",placeholder:"确认密码"},model:{value:a.resetParam.confirmPassword,callback:function(e){a.$set(a.resetParam,"confirmPassword",e)},expression:"resetParam.confirmPassword"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.6s"}},[t("a-button",{attrs:{type:"primary",block:!0},on:{click:a.handleResetPassword}},[a._v("重置密码")])],1),t("a-row",[t("router-link",{attrs:{to:{name:"Login"}}},[t("a",{staticClass:"tip animated fadeInUp",style:{"animation-delay":"0.7s"}},[a._v("\n 返回登陆\n ")])])],1)],1)],1)])},r=[function(){var a=this,e=a.$createElement,t=a._self._c||e;return t("div",{staticClass:"halo-logo animated fadeInUp"},[t("span",[a._v("Halo"),t("small",[a._v("重置密码")])])])}],i=t("50fc"),o={data:function(){return{resetParam:{username:"",email:"",code:"",password:"",confirmPassword:""}}},methods:{handleSendCode:function(){var a=this;this.resetParam.username?this.resetParam.email?i["a"].sendResetCode(this.resetParam).then((function(e){a.$message.info("邮件发送成功,五分钟内有效")})):this.$notification["error"]({message:"提示",description:"邮箱不能为空!"}):this.$notification["error"]({message:"提示",description:"用户名不能为空!"})},handleResetPassword:function(){var a=this;this.resetParam.username?this.resetParam.email?this.resetParam.code?this.resetParam.password?this.resetParam.confirmPassword?this.resetParam.confirmPassword===this.resetParam.password?i["a"].resetPassword(this.resetParam).then((function(e){a.$message.info("密码重置成功!"),a.$router.push({name:"Login"})})):this.$notification["error"]({message:"提示",description:"确认密码和新密码不匹配!"}):this.$notification["error"]({message:"提示",description:"确认密码不能为空!"}):this.$notification["error"]({message:"提示",description:"新密码不能为空!"}):this.$notification["error"]({message:"提示",description:"验证码不能为空!"}):this.$notification["error"]({message:"提示",description:"邮箱不能为空!"}):this.$notification["error"]({message:"提示",description:"用户名不能为空!"})}}},n=o,l=t("2877"),c=Object(l["a"])(n,s,r,!1,null,null,null);e["default"]=c.exports}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7b4a6534"],{"1d9e":function(a,e,t){},c1bd:function(a,e,t){"use strict";t.r(e);var s=function(){var a=this,e=a.$createElement,t=a._self._c||e;return t("div",{staticClass:"container-wrapper"},[a._m(0),t("div",{staticClass:"animated"},[t("a-form",{attrs:{layout:"vertical"}},[t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.1s"}},[t("a-input",{attrs:{placeholder:"用户名"},model:{value:a.resetParam.username,callback:function(e){a.$set(a.resetParam,"username",e)},expression:"resetParam.username"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.2s"}},[t("a-input",{attrs:{placeholder:"邮箱"},model:{value:a.resetParam.email,callback:function(e){a.$set(a.resetParam,"email",e)},expression:"resetParam.email"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.3s"}},[t("a-input",{attrs:{type:"password",placeholder:"验证码"},model:{value:a.resetParam.code,callback:function(e){a.$set(a.resetParam,"code",e)},expression:"resetParam.code"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"safety-certificate"},slot:"prefix"}),t("a",{attrs:{slot:"addonAfter",href:"javascript:void(0);"},on:{click:a.handleSendCode},slot:"addonAfter"},[a._v("\n 获取\n ")])],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.4s"}},[t("a-input",{attrs:{type:"password",placeholder:"新密码"},model:{value:a.resetParam.password,callback:function(e){a.$set(a.resetParam,"password",e)},expression:"resetParam.password"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.5s"}},[t("a-input",{attrs:{type:"password",placeholder:"确认密码"},model:{value:a.resetParam.confirmPassword,callback:function(e){a.$set(a.resetParam,"confirmPassword",e)},expression:"resetParam.confirmPassword"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.6s"}},[t("a-button",{attrs:{type:"primary",block:!0},on:{click:a.handleResetPassword}},[a._v("重置密码")])],1),t("a-row",[t("router-link",{attrs:{to:{name:"Login"}}},[t("a",{staticClass:"tip animated fadeInUp",style:{"animation-delay":"0.7s"}},[a._v("\n 返回登陆\n ")])])],1)],1)],1)])},r=[function(){var a=this,e=a.$createElement,t=a._self._c||e;return t("div",{staticClass:"halo-logo animated fadeInUp"},[t("span",[a._v("Halo"),t("small",[a._v("重置密码")])])])}],i=t("50fc"),o={data:function(){return{resetParam:{username:"",email:"",code:"",password:"",confirmPassword:""}}},methods:{handleSendCode:function(){var a=this;this.resetParam.username?this.resetParam.email?i["a"].sendResetCode(this.resetParam).then((function(e){a.$message.info("邮件发送成功,五分钟内有效")})):this.$notification["error"]({message:"提示",description:"邮箱不能为空!"}):this.$notification["error"]({message:"提示",description:"用户名不能为空!"})},handleResetPassword:function(){var a=this;this.resetParam.username?this.resetParam.email?this.resetParam.code?this.resetParam.password?this.resetParam.confirmPassword?this.resetParam.confirmPassword===this.resetParam.password?i["a"].resetPassword(this.resetParam).then((function(e){a.$message.info("密码重置成功!"),a.$router.push({name:"Login"})})):this.$notification["error"]({message:"提示",description:"确认密码和新密码不匹配!"}):this.$notification["error"]({message:"提示",description:"确认密码不能为空!"}):this.$notification["error"]({message:"提示",description:"新密码不能为空!"}):this.$notification["error"]({message:"提示",description:"验证码不能为空!"}):this.$notification["error"]({message:"提示",description:"邮箱不能为空!"}):this.$notification["error"]({message:"提示",description:"用户名不能为空!"})}}},n=o,l=(t("c2b9"),t("2877")),c=Object(l["a"])(n,s,r,!1,null,null,null);e["default"]=c.exports},c2b9:function(a,e,t){"use strict";var s=t("1d9e"),r=t.n(s);r.a}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue