重构中,配置存入数据库,第一次智能生成随机后台地址,登录密码
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user