重构中,配置存入数据库,第一次智能生成随机后台地址,登录密码

This commit is contained in:
lan
2023-01-16 16:03:25 +08:00
parent 45c25994ae
commit f0fef66bf4
11 changed files with 230 additions and 230 deletions
+1 -2
View File
@@ -126,12 +126,11 @@
if (pwd) {
login = true;
this.pwd = pwd;
axios.get('/config', {
axios.get('{{admin_address}}/config', {
headers: {
pwd: pwd
}
}).then(res => {
console.log(res.data.data)
this.config = res.data.data;
});
this.loginAdmin();
+1 -1
View File
@@ -11,7 +11,7 @@
<meta name="description" content="{{description}}"/>
<meta name="keywords" content="{{keywords}}"/>
<meta name="generator" content="FileCodeBox"/>
<meta name="template" content="Lan-V1.5.9.2"/>
<meta name="template" content="Lan-V1.6"/>
<style>
body {
background: #f5f5f5;