2023-02-09 22:18:06 +03:00
|
|
|
{{define "form/streamHTTP"}}
|
2024-02-27 18:28:35 +03:00
|
|
|
<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
|
2024-04-20 21:45:36 +03:00
|
|
|
<a-form-item label='{{ i18n "path" }}'>
|
|
|
|
<a-input v-model.trim="inbound.stream.http.path"></a-input>
|
|
|
|
</a-form-item>
|
|
|
|
<a-form-item>
|
|
|
|
<template slot="label">{{ i18n "host" }}
|
|
|
|
<a-button icon="plus" size="small" @click="inbound.stream.http.addHost()"></a-button>
|
|
|
|
</template>
|
|
|
|
<template v-for="(host, index) in inbound.stream.http.host">
|
|
|
|
<a-input v-model.trim="inbound.stream.http.host[index]">
|
|
|
|
<a-button icon="minus" size="small" slot="addonAfter" @click="inbound.stream.http.removeHost(index)" v-if="inbound.stream.http.host.length>1"></a-button>
|
|
|
|
</a-input>
|
|
|
|
</template>
|
|
|
|
</a-form-item>
|
2023-02-09 22:18:06 +03:00
|
|
|
</a-form>
|
|
|
|
{{end}}
|