From 8befde9f52a8bf1a7cd13666d4396587b0a0b1cc Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期三, 31 五月 2023 17:37:42 +0800 Subject: [PATCH] 修改树参照组件,懒加载和请求参数还没处理 --- Source/UBCS-WEB/src/const/code/classifyTreeOptionDialog.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/const/code/classifyTreeOptionDialog.js b/Source/UBCS-WEB/src/const/code/classifyTreeOptionDialog.js index 8ae347a..c812387 100644 --- a/Source/UBCS-WEB/src/const/code/classifyTreeOptionDialog.js +++ b/Source/UBCS-WEB/src/const/code/classifyTreeOptionDialog.js @@ -6,7 +6,7 @@ lazy: true, treeLoad: function (node, resolve) { // const parentId = (node.level === 0) ? 0 : node.data.id; - treeTopCodeClassify({"queryAllLevel": true,"loadType": "all","multipleSelect": false,}).then( res=> { + treeTopCodeClassify({"queryAllLevel": true,"loadType": "all","multipleSelect": false}).then( res=> { resolve(res.data.map(classifyitem => { let item = { "hasChildren": false, -- Gitblit v1.9.3