separated inbound's client mux #257

This commit is contained in:
Alireza Ahmadi
2024-10-22 23:55:37 +02:00
parent 90b2876867
commit 119cff3d85
4 changed files with 7 additions and 4 deletions
+2
View File
@@ -50,6 +50,7 @@
</v-window-item>
<v-window-item value="c">
<OutJsonVue :inData="inData" :type="inbound.type" />
<Multiplex v-if="Object.hasOwn(inbound,'multiplex')" direction="out" :data="inData.outJson" />
<v-card>
<v-card-subtitle>{{ $t('in.multiDomain') }}
<v-icon @click="add_addr" icon="mdi-plus"></v-icon>
@@ -169,6 +170,7 @@ export default {
const prevConfig = { tag: tag ,listen: this.inbound.listen, listen_port: this.inbound.listen_port }
this.inbound = createInbound(this.inbound.type, prevConfig)
if (this.HasInData.includes(this.inbound.type)){
if (this.inData.id == -1) this.inData.id = 0
this.inData.outJson = {}
this.inData.tag = tag
} else {