mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-11-29 02:42:51 +00:00
fix error with this.
This commit is contained in:
parent
56109965f4
commit
149ab52057
1 changed files with 2 additions and 2 deletions
|
|
@ -236,7 +236,7 @@
|
||||||
axios.get('/panel/api/servers/list')
|
axios.get('/panel/api/servers/list')
|
||||||
.then(response => {
|
.then(response => {
|
||||||
this.servers = response.data.obj;
|
this.servers = response.data.obj;
|
||||||
this.servers = servers.map(s => {
|
this.servers = this.servers.map(s => {
|
||||||
s.status = 'Checking...';
|
s.status = 'Checking...';
|
||||||
return s;
|
return s;
|
||||||
});
|
});
|
||||||
|
|
@ -314,7 +314,7 @@
|
||||||
if (!secretWebPath.endsWith('/')) {
|
if (!secretWebPath.endsWith('/')) {
|
||||||
secretWebPath = secretWebPath + '/';
|
secretWebPath = secretWebPath + '/';
|
||||||
}
|
}
|
||||||
console.log(this.modal.server);
|
|
||||||
axios
|
axios
|
||||||
.post(url, this.modal.server)
|
.post(url, this.modal.server)
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue