mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-11-30 03:13:05 +00:00
0.1.1 исправил bug с basPath
This commit is contained in:
parent
aff23fc0ab
commit
2f033c8e01
2 changed files with 4 additions and 3 deletions
1
version
Normal file
1
version
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
0.1.1
|
||||||
|
|
@ -200,9 +200,9 @@
|
||||||
modal.show();
|
modal.show();
|
||||||
},
|
},
|
||||||
saveServer() {
|
saveServer() {
|
||||||
let url = "{{.base_path}}panel/api/servers/add";
|
let url = "/panel/api/servers/add";
|
||||||
if (this.modal.server.id) {
|
if (this.modal.server.id) {
|
||||||
url = `{{.base_path}}panel/api/servers/update/${this.modal.server.id}`;
|
url = `/panel/api/servers/update/${this.modal.server.id}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(this.modal.server);
|
console.log(this.modal.server);
|
||||||
|
|
@ -226,7 +226,7 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
axios
|
axios
|
||||||
.post(`{{.base_path}}panel/api/servers/del/${id}`)
|
.post(`/panel/api/servers/del/${id}`)
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
alert(response.data.msg);
|
alert(response.data.msg);
|
||||||
this.loadServers();
|
this.loadServers();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue