From fbe440ba66be12cf58fb128690d1df27f264b44c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E4=BB=A3=E7=B6=BA=E5=87=9B?= Date: Fri, 28 Jun 2024 22:17:25 +0800 Subject: [PATCH] feat: able to show skland cred plain text --- .../material/SklandSettingDialog.vue | 42 +++++++++++++------ 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/src/components/material/SklandSettingDialog.vue b/src/components/material/SklandSettingDialog.vue index 97b435ab..e9e736b9 100644 --- a/src/components/material/SklandSettingDialog.vue +++ b/src/components/material/SklandSettingDialog.vue @@ -2,22 +2,34 @@
森空岛设置
-
- - -
长度应为 32,当前为 {{ store.cred.length }}
+
+
+ + +
长度应为 32,当前为 {{ store.cred.length }}
+
+
+ +
Cred 获取方法
    -
  1. PC 浏览器进入无痕模式,打开森空岛并登录
  2. +
  3. PC 浏览器进入无痕模式,打开森空岛并登录
  4. 按下 F12 打开 DevTools,上方选项卡切换到 Console(控制台)
  5. 粘贴以下代码并回车执行 复制代码 @@ -58,6 +70,7 @@ defineExpose(dialog); const store = useSklandStore(); +const isCredVisible = ref(false); const isCredInvalid = computed(() => store.cred.length > 0 && !store.credValid); const copySkCredCode = async () => { @@ -70,4 +83,7 @@ pre, code { user-select: text; } +.security-disc { + -webkit-text-security: disc; +}