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

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();