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 @@
+
+
+ {{ maskSecret(row.app_secret) }}
+
+
@@ -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 {