From c3ad63f7fd4fc988d82b8ca1fdaeb6e5f92d5af7 Mon Sep 17 00:00:00 2001 From: xream Date: Fri, 19 Jan 2024 21:44:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9F=9F=E5=90=8D=E8=A7=A3=E6=9E=90?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E7=B1=BB=E5=9E=8B=E5=92=8C=E8=BF=87=E6=BB=A4?= =?UTF-8?q?(=E5=90=8E=E7=AB=AF=20>=202.14.184)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/locales/en.ts | 4 +- src/locales/zh.ts | 4 +- src/views/editor/components/ActionRadio.vue | 54 ++++++++++++++++++--- 4 files changed, 55 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index b64e10770..0d9d4660d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sub-store-front-end", - "version": "2.14.83", + "version": "2.14.84", "private": true, "scripts": { "dev": "vite --host", diff --git a/src/locales/en.ts b/src/locales/en.ts index edf89b574..c313d3b0b 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -306,8 +306,10 @@ export default { }, 'Resolve Domain Operator': { label: 'Resolve Domain', - des: 'Providers(IPv4 only. Can be controlled by the node field "no-resolve")', + des: 'Providers(can be controlled by the node field "no-resolve")', options: ['Google', 'IP-API', 'Cloudflare', 'Ali', 'Tencent'], + types: ['IPv4', 'IPv6'], + filters: ['Disabled', 'Remove Failed', 'IP Only', 'IPv4 Only', 'IPv6 Only'], tipsTitle: 'domain Tips', tipsDes: '节点域名解析操作说明', }, diff --git a/src/locales/zh.ts b/src/locales/zh.ts index de2e7cac4..938d18e58 100644 --- a/src/locales/zh.ts +++ b/src/locales/zh.ts @@ -314,8 +314,10 @@ export default { }, 'Resolve Domain Operator': { label: '域名解析', - des: '提供商(仅 IPv4. 可由节点字段 "no-resolve" 控制)', + des: '提供商(可由节点字段 "no-resolve" 控制)', options: ['Google', 'IP-API', 'Cloudflare', 'Ali', 'Tencent'], + types: ['IPv4', 'IPv6'], + filters: ['不过滤', '移除失败', '只保留 IP', '只保留 IPv4', '只保留 IPv6'], tipsTitle: '域名解析操作提示', tipsDes: '将节点域名解析成为 IP 地址,减少一次额外的 DNS 请求', }, diff --git a/src/views/editor/components/ActionRadio.vue b/src/views/editor/components/ActionRadio.vue index 5c43597a7..59c8f1519 100644 --- a/src/views/editor/components/ActionRadio.vue +++ b/src/views/editor/components/ActionRadio.vue @@ -12,17 +12,42 @@ +