From ec948f15d569362c894821aca81b284a3059dd88 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 9 Mar 2026 19:45:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=8C=E6=88=90=20#5=20=E5=B0=8F?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E7=AE=A1=E7=90=86=E5=88=97=E8=A1=A8=E4=B8=8E?= =?UTF-8?q?AppSecret=E8=84=B1=E6=95=8F=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mini-programs/index.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/views/mini-programs/index.vue b/src/views/mini-programs/index.vue index fc3f889..4dddebb 100644 --- a/src/views/mini-programs/index.vue +++ b/src/views/mini-programs/index.vue @@ -21,6 +21,11 @@ + + + @@ -78,6 +83,12 @@ const formatDateTime = (value) => { return dayjs(value).format('YYYY-MM-DD HH:mm:ss') } +const maskSecret = (value) => { + if (!value) return '****' + if (value.length <= 8) return '****' + return `${value.slice(0, 4)}****${value.slice(-4)}` +} + const loadData = async () => { loading.value = true try {