From a3168d6524df1225114188698c8701f816293ce2 Mon Sep 17 00:00:00 2001 From: ymq1 Date: Fri, 27 Jun 2025 15:09:26 +0800 Subject: [PATCH] bugfix --- json/folder.json | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/json/folder.json b/json/folder.json index e8287f6..c9fb694 100644 --- a/json/folder.json +++ b/json/folder.json @@ -13,9 +13,28 @@ "edit_exclouded_fields":[], "parentField":"parentid", "toolbar":{ + "tools":[ + { + "name":"upload", + "label":"上传文件", + "icon":"{{entire_url('/bricks/imgs/upload.svg')}}" + } + ] }, "binds":[ + { + "wid":"upload", + "event":"upload", + "actiontype":"urlwidget", + "target":"PopupWindow", + "popupwindow_options":{ + "icon":"{{entire_url('/bricks/imgs/app.png')}}", + "title":"上传文件" + }, + "options":{ + "url":"{{entire_url('/filemgr/upload_file.ui')}}" + } + } ] } - }