mirror of
https://github.com/alireza0/s-ui.git
synced 2026-09-01 01:19:09 +00:00
fix hysteria2 up-down change #92
This commit is contained in:
parent
68ed8d120f
commit
819d74cf10
1 changed files with 2 additions and 2 deletions
|
|
@ -73,11 +73,11 @@ export default {
|
|||
computed: {
|
||||
down_mbps: {
|
||||
get() { return this.hysteria2.down_mbps ? this.hysteria2.down_mbps : 0 },
|
||||
set(newValue:any) { this.hysteria2.down_mbps = newValue.length == 0 ? undefined : this.hysteria2.down_mbps }
|
||||
set(newValue:number) { this.hysteria2.down_mbps = newValue?? undefined }
|
||||
},
|
||||
up_mbps: {
|
||||
get() { return this.hysteria2.up_mbps ? this.hysteria2.up_mbps : 0 },
|
||||
set(newValue:any) { this.hysteria2.up_mbps = newValue.length == 0 ? undefined : this.hysteria2.up_mbps }
|
||||
set(newValue:number) { this.hysteria2.up_mbps = newValue?? undefined }
|
||||
},
|
||||
optionObfs: {
|
||||
get(): boolean { return this.hysteria2.obfs != undefined },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue