Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fa4e048

Browse files
authored
Update index.js
1 parent 290ee35 commit fa4e048

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

assets/js/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const App = {
8383
get_file(dir) {
8484
this.selectedValues = [];
8585
this.taskstate = true
86-
axios.post('/api.php/', 'type=get_list&shorturl=' + this.shorturl + '&dir=' + dir + '&root=0&pwd=' + this.pass + '&page=1&num=1000&order=time')
86+
axios.post('/api.php', 'type=get_list&shorturl=' + this.shorturl + '&dir=' + dir + '&root=0&pwd=' + this.pass + '&page=1&num=1000&order=time')
8787
.then(response => {
8888
this.taskstate = false
8989
this.list = response.data.list
@@ -100,7 +100,7 @@ const App = {
100100
};
101101
var addedIndex = this.rw_list.push(data) - 1;
102102

103-
axios.post('/api.php/', 'type=down_file&fs_id=' + fs_id + '&time=' + timestamp + '&uk=' + uk + '&sign=' + sign + '&randsk=' + randsk + '&share_id=' + shareid + '')
103+
axios.post('/api.php', 'type=down_file&fs_id=' + fs_id + '&time=' + timestamp + '&uk=' + uk + '&sign=' + sign + '&randsk=' + randsk + '&share_id=' + shareid + '')
104104
.then(response => {
105105
if (response.data.success) {
106106
this.rw_list[addedIndex].dlink = response.data.data.dlink;
@@ -217,4 +217,4 @@ const App = {
217217
}
218218
const app = Vue.createApp(App);
219219
app.use(ElementPlus);
220-
app.mount("#app");
220+
app.mount("#app");

0 commit comments

Comments
 (0)