fix show shadowsocks password in outbound #362

This commit is contained in:
Alireza Ahmadi
2025-01-07 01:39:08 +01:00
parent 8c9736cf19
commit 9e63944d83
@@ -6,7 +6,7 @@
hide-details hide-details
:label="$t('in.ssMethod')" :label="$t('in.ssMethod')"
:items="ssMethods" :items="ssMethods"
@update:model-value="changeMethod($event)" @update:model-value="direction == 'in' ? changeMethod($event) : undefined"
v-model="data.method"> v-model="data.method">
</v-select> </v-select>
</v-col> </v-col>
@@ -17,13 +17,13 @@
<UoT :data="data" /> <UoT :data="data" />
</v-col> </v-col>
</v-row> </v-row>
<v-row v-if="data.method.startsWith('2022')"> <v-row v-if="data.method.startsWith('2022') || direction == 'out'">
<v-col cols="12" sm="8"> <v-col cols="12" sm="8">
<v-text-field <v-text-field
v-model="data.password" v-model="data.password"
:label="$t('types.pw')" :label="$t('types.pw')"
hide-details hide-details
append-inner-icon="mdi-refresh" :append-inner-icon="direction == 'in' ? 'mdi-refresh' : undefined"
@click:append-inner="changeMethod(data.method)"> @click:append-inner="changeMethod(data.method)">
</v-text-field> </v-text-field>
</v-col> </v-col>