From 3acd425c095cacfbaa1d74c356e772ed19dd4d39 Mon Sep 17 00:00:00 2001 From: wanglin2 <1013335014@qq.com> Date: Sun, 8 Oct 2023 09:37:54 +0800 Subject: [PATCH] =?UTF-8?q?Demo=EF=BC=9A=E4=BC=98=E5=8C=96=E8=B6=85?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E8=BE=93=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pages/Edit/components/NodeHyperlink.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/src/pages/Edit/components/NodeHyperlink.vue b/web/src/pages/Edit/components/NodeHyperlink.vue index 0692b0e0..3bb951fa 100644 --- a/web/src/pages/Edit/components/NodeHyperlink.vue +++ b/web/src/pages/Edit/components/NodeHyperlink.vue @@ -87,6 +87,8 @@ export default { const res = this.link.match(/^(https?):\/\//) if (res && res[1]) { this.protocol = res[1] + } else if (!this.link) { + this.protocol = 'https' } else if (setProtocolNoneIfNotExist) { this.protocol = 'none' }