mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-16 08:10:58 +00:00
feat(xray/dns): align DNS settings with Xray docs + UI polish
- DNS server modal: rename expectIPs -> expectedIPs (per docs); add per-server tag, clientIP, serveStale, serveExpiredTTL, timeoutMs; flip skipFallback default to false; hydration still accepts legacy expectIPs for back-compat. - DNS tab: add hosts editor (domain -> IP/array), serveStale + serveExpiredTTL controls, "Use Preset" button bringing back the legacy preset gallery (Google / Cloudflare / AdGuard + Family variants — fixed AdGuard Family IPs that were wrong in legacy), and a "Delete All" button to wipe the server list at once. - i18n: add 15 new dns.* keys across all 13 locales. - Frontend-wide formatter pass on Vue components (whitespace and attribute layout only, no behavior changes). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -560,19 +560,11 @@ watch(
|
||||
<a-input v-model:value="dbForm.remark" />
|
||||
</a-form-item>
|
||||
<a-form-item :label="t('pages.inbounds.deployTo')">
|
||||
<a-select
|
||||
v-model:value="dbForm.nodeId"
|
||||
:disabled="mode === 'edit'"
|
||||
:placeholder="t('pages.inbounds.localPanel')"
|
||||
allow-clear
|
||||
>
|
||||
<a-select v-model:value="dbForm.nodeId" :disabled="mode === 'edit'"
|
||||
:placeholder="t('pages.inbounds.localPanel')" allow-clear>
|
||||
<a-select-option :value="null">{{ t('pages.inbounds.localPanel') }}</a-select-option>
|
||||
<a-select-option
|
||||
v-for="n in selectableNodes"
|
||||
:key="n.id"
|
||||
:value="n.id"
|
||||
:disabled="n.status === 'offline'"
|
||||
>
|
||||
<a-select-option v-for="n in selectableNodes" :key="n.id" :value="n.id"
|
||||
:disabled="n.status === 'offline'">
|
||||
{{ n.name }}{{ n.status === 'offline' ? ' (offline)' : '' }}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
|
||||
Reference in New Issue
Block a user