From 6432d165c71213f90cda5c4ae250dd5b83a8cc05 Mon Sep 17 00:00:00 2001 From: ahao <liuhaoai545@gmail.com> Date: 星期五, 05 一月 2024 12:06:10 +0800 Subject: [PATCH] update 修复启动弹出cjs废弃警告 --- 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