From 2a6e3f061158f63d0764ee66af28b5b117c4bdac Mon Sep 17 00:00:00 2001 From: jingrow Date: Tue, 12 Aug 2025 12:28:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=9F=9F=E5=90=8D=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=BD=93=E8=BE=93=E5=85=A5=E6=A1=86=E6=9C=89=E5=80=BC?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=88=87=E6=8D=A2=E5=9F=9F=E5=90=8D=E5=90=8E?= =?UTF-8?q?=E7=BC=80=E8=87=AA=E5=8A=A8=E8=A7=A6=E5=8F=91=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard/src2/pages/NewJsiteDomain.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dashboard/src2/pages/NewJsiteDomain.vue b/dashboard/src2/pages/NewJsiteDomain.vue index 4d68d9d..e01e373 100644 --- a/dashboard/src2/pages/NewJsiteDomain.vue +++ b/dashboard/src2/pages/NewJsiteDomain.vue @@ -701,6 +701,16 @@ export default { ] }; }, + watch: { + // 监听域名后缀变化,当有域名输入时自动查询 + selectedSuffix: { + handler(newSuffix, oldSuffix) { + if (oldSuffix && this.domainName && this.domainName.trim()) { + this.checkDomain(); + } + } + } + }, computed: { fullDomain() { if (!this.domainName) return '';