修改登录页面、更换logo

This commit is contained in:
aoshiguchen
2022-07-30 13:53:31 +08:00
parent fab19e90c9
commit af3012478b
5 changed files with 3 additions and 20 deletions
@@ -182,7 +182,7 @@ public abstract class AbstractBeanFactory implements BeanFactory, BeanRegistry,
@Override
public void registerBean(Object obj, String name) throws BeanException {
Assert.notNull(obj, "被注册的bean实例不能为空!");
Assert.notNull(obj, "被注册的bean名称不能为空!");
Assert.notEmpty(name, "被注册的bean名称不能为空!");
synchronized (mutex) {
if (hasBean(obj.getClass(), name)) {
throw new BeanException(String.format("Bean[type:%s name:%s] 已存在,不能重复注册!", obj.getClass().getName(), name));
Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

+1 -1
View File
@@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>vue-element-admin</title>
<title>中微子代理</title>
</head>
<script src=<%= htmlWebpackPlugin.options.path %>/tinymce/tinymce.min.js></script>
<body>
+1 -16
View File
@@ -3,7 +3,6 @@
<el-form class="login-form" autoComplete="on" :model="loginForm" :rules="loginRules" ref="loginForm" label-position="left">
<div class="title-container">
<h3 class="title">{{$t('login.title')}}</h3>
<lang-select class="set-language"></lang-select>
</div>
<el-form-item prop="username">
<span class="svg-container svg-container_login">
@@ -26,24 +25,10 @@
<div class="tips">
<span>{{$t('login.username')}} : admin</span>
<span>{{$t('login.password')}} : {{$t('login.any')}}</span>
</div>
<div class="tips">
<span style="margin-right:18px;">{{$t('login.username')}} : editor</span>
<span>{{$t('login.password')}} : {{$t('login.any')}}</span>
<span>{{$t('login.password')}} : 123456</span>
</div>
<el-button class="thirdparty-button" type="primary" @click="showDialog=true">{{$t('login.thirdparty')}}</el-button>
</el-form>
<el-dialog :title="$t('login.thirdparty')" :visible.sync="showDialog">
{{$t('login.thirdpartyTips')}}
<br/>
<br/>
<br/>
<social-sign />
</el-dialog>
</div>
</template>
@@ -23,9 +23,7 @@
package fun.asgc.neutrino.proxy.server;
import fun.asgc.neutrino.core.annotation.NeutrinoApplication;
import fun.asgc.neutrino.core.base.GlobalConfig;
import fun.asgc.neutrino.core.context.NeutrinoLauncher;
import fun.asgc.neutrino.core.util.SystemUtil;
/**
*