From e2a01325f417f9404ee753e8e9b548680dbf92d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=88=98=E5=98=89=E4=BC=9F?= <8473136@qq.com>
Date: Thu, 5 Dec 2024 10:56:19 +0800
Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/styles/index.scss | 10 +++---
src/views/proxy/index.vue | 73 ++++++++++++++++++++-------------------
2 files changed, 43 insertions(+), 40 deletions(-)
diff --git a/src/styles/index.scss b/src/styles/index.scss
index 863adb3..911f5a5 100644
--- a/src/styles/index.scss
+++ b/src/styles/index.scss
@@ -1,8 +1,8 @@
-@import "reset";
-@import "layout";
-@import "element";
-@import "tailwind";
-@import "scrollbar";
+@use "reset";
+@use "layout";
+@use "element";
+@use "tailwind";
+@use "scrollbar";
/* 自定义全局 CssVar */
:root {
--pure-transition-duration: 0.016s;
diff --git a/src/views/proxy/index.vue b/src/views/proxy/index.vue
index 18edb49..d649aa8 100644
--- a/src/views/proxy/index.vue
+++ b/src/views/proxy/index.vue
@@ -450,6 +450,9 @@ const allowCopyAccessAddress = (proxy: Proxy) => {
if (proxy.type === "xtcp" && proxy.stcpModel === "visited") {
return false;
}
+ if (proxy.type === "sudp" && proxy.stcpModel === "visited") {
+ return false;
+ }
return true;
};
@@ -620,7 +623,7 @@ onUnmounted(() => {
class="mr-2"
type="danger"
size="small"
- >已禁用
+ >已禁用