重构中,配置存入数据库,第一次智能生成随机后台地址,登录密码
This commit is contained in:
1 parent
c19da62941
commit
ee5beb2261
11 files changed
+230
-230
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user