mirror of
https://github.com/gl-inet/glkvm-cloud.git
synced 2026-09-20 01:25:22 +00:00
Optimize upload speed, depends on libuwsc-2.0.4
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
This commit is contained in:
@@ -101,7 +101,7 @@ export default {
|
||||
}
|
||||
}
|
||||
],
|
||||
upfile: {modal: false, file: null, step: 2048, pos: 0, percent: 0, loading: false},
|
||||
upfile: {modal: false, file: null, step: 8192, pos: 0, percent: 0, loading: false},
|
||||
downfile: {modal: false, loading: true, pathname: '/', filelist: [], filelistFiltered: [], downing: false, percent: 0, filter: ''},
|
||||
}
|
||||
},
|
||||
@@ -126,7 +126,7 @@ export default {
|
||||
return;
|
||||
|
||||
if (name == 'upfile') {
|
||||
this.upfile = {modal: true, file: null, step: 2048, pos: 0, percent: 0, loading: false};
|
||||
this.upfile = {modal: true, file: null, step: 8192, pos: 0, percent: 0, loading: false};
|
||||
} else if (name == 'downfile') {
|
||||
this.downfile = {modal: true, loading: true, path: [], pathname: '/', filelist: [], downing: false, percent: 0, filter: ''};
|
||||
let msg = rttyMsgInit('DOWNFILE', {sid: this.sid});
|
||||
|
||||
Reference in New Issue
Block a user