From 2b1f5f2c7033eebee97de472b5f6195d95516b80 Mon Sep 17 00:00:00 2001 From: LiuHao <liuhaoai545@gmail.com> Date: 星期五, 27 十二月 2024 11:45:33 +0800 Subject: [PATCH] 优化 主题色在深色模式下显示亮度 --- src/utils/ruoyi.ts | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/utils/ruoyi.ts b/src/utils/ruoyi.ts index a116b52..8efd12c 100644 --- a/src/utils/ruoyi.ts +++ b/src/utils/ruoyi.ts @@ -68,7 +68,7 @@ if (value === undefined) { return ''; } - const actions = []; + const actions: Array<string | number> = []; Object.keys(datas).some((key) => { if (datas[key].value == '' + value) { actions.push(datas[key].label); @@ -245,3 +245,7 @@ export const blobValidate = (data: any) => { return data.type !== 'application/json'; }; + +export default { + handleTree +}; -- Gitblit v1.9.3