|
@@ -465,7 +465,7 @@
|
|
</a-tab-pane>
|
|
</a-tab-pane>
|
|
<a-tab-pane key="tpl-4" tab='{{ i18n "pages.xray.outbound.reverse"}}' style="padding-top: 20px;" force-render="true">
|
|
<a-tab-pane key="tpl-4" tab='{{ i18n "pages.xray.outbound.reverse"}}' style="padding-top: 20px;" force-render="true">
|
|
<a-button type="primary" icon="plus" @click="addReverse()" style="margin-bottom: 10px;">{{ i18n "pages.xray.outbound.addReverse" }}</a-button>
|
|
<a-button type="primary" icon="plus" @click="addReverse()" style="margin-bottom: 10px;">{{ i18n "pages.xray.outbound.addReverse" }}</a-button>
|
|
- <a-table :columns="reverseColumns" bordered
|
|
|
|
|
|
+ <a-table :columns="reverseColumns" bordered v-if="reverseData.length>0"
|
|
:row-key="r => r.key"
|
|
:row-key="r => r.key"
|
|
:data-source="reverseData"
|
|
:data-source="reverseData"
|
|
:scroll="isMobile ? {} : { x: 200 }"
|
|
:scroll="isMobile ? {} : { x: 200 }"
|
|
@@ -491,11 +491,11 @@
|
|
</template>
|
|
</template>
|
|
</a-table>
|
|
</a-table>
|
|
</a-tab-pane>
|
|
</a-tab-pane>
|
|
- <a-tab-pane key="tpl-balancers" tab='{{ i18n "pages.xray.Balancers"}}' style="padding-top: 20px;" force-render="true">
|
|
|
|
- <a-alert type="warning" style="margin-bottom: 10px; width: fit-content"
|
|
|
|
|
|
+ <a-tab-pane key="tpl-5" tab='{{ i18n "pages.xray.Balancers"}}' style="padding-top: 20px;" force-render="true">
|
|
|
|
+ <a-alert type="warning" style="margin-bottom: 10px; width: fit-content"
|
|
message='{{ i18n "pages.xray.balancer.balancerDesc" }}' show-icon></a-alert>
|
|
message='{{ i18n "pages.xray.balancer.balancerDesc" }}' show-icon></a-alert>
|
|
<a-button type="primary" icon="plus" @click="addBalancer()" style="margin-bottom: 10px;">{{ i18n "pages.xray.balancer.addBalancer"}}</a-button>
|
|
<a-button type="primary" icon="plus" @click="addBalancer()" style="margin-bottom: 10px;">{{ i18n "pages.xray.balancer.addBalancer"}}</a-button>
|
|
- <a-table :columns="balancerColumns" bordered
|
|
|
|
|
|
+ <a-table :columns="balancerColumns" bordered v-if="balancersData.length>0"
|
|
:row-key="r => r.key"
|
|
:row-key="r => r.key"
|
|
:data-source="balancersData"
|
|
:data-source="balancersData"
|
|
:scroll="isMobile ? {} : { x: 200 }"
|
|
:scroll="isMobile ? {} : { x: 200 }"
|