[xray] add dns tag

Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
This commit is contained in:
MHSanaei
2024-03-11 12:01:08 +03:30
parent 5f3c2f781e
commit e6254e23f2
10 changed files with 28 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,6 @@
:options="reverseModal.inboundTags"></a-checkbox-group>
</a-form-item>
</template>
</table>
</a-form>
</a-modal>
<script>
@@ -114,6 +113,7 @@
this.isEdit = isEdit;
this.inboundTags = app.templateSettings.inbounds.filter((i) => !ObjectUtil.isEmpty(i.tag)).map(obj => obj.tag);
this.inboundTags.push(...app.inboundTags);
if (app.enableDNS && !ObjectUtil.isEmpty(app.dnsTag)) this.inboundTags.push(app.dnsTag)
this.outboundTags = app.templateSettings.outbounds.filter((o) => !ObjectUtil.isEmpty(o.tag)).map(obj => obj.tag);
},
close() {