需求

给tree传参数params

const {
    $func, // 功能对象
    $form, // 功能表单对象
} = EventOptions;

let $tree = $func.getTreeQueryPanel();
setTimeout(()=>{
    const store = $tree.getStore();
    // 给字典参数赋值
    const dic = store?.queryParser?.dictionarys;
    dic && dic.map(item => {
       item.params = 'xxx'
    })
    // 刷新列表
    store.reload();
}, 100) 
最后编辑: 秦永莲  文档更新时间: 2024-08-29 09:50   作者:秦永莲