From db8ba3e3b92b567d3c3a3b26a551d4241a353585 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期四, 20 二月 2025 18:24:19 +0800 Subject: [PATCH] 项目修改字段不能编辑bug --- src/utils/dict/DictOptions.js | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/utils/dict/DictOptions.js b/src/utils/dict/DictOptions.js index 338a94e..7fcb044 100644 --- a/src/utils/dict/DictOptions.js +++ b/src/utils/dict/DictOptions.js @@ -17,7 +17,8 @@ responseConverter, labelField: 'label', valueField: 'value', - }, + childrenField: 'children' + } }, /** * 榛樿鏍囩瀛楁 @@ -27,6 +28,10 @@ * 榛樿鍊煎瓧娈� */ DEFAULT_VALUE_FIELDS: ['value', 'id', 'uid', 'key'], + /** + * 榛樿鍊煎瓧娈� + */ + DEFAULT_CHILDREN_FIELDS: ['children', 'childr', 'child'] } /** -- Gitblit v1.8.0