代码内容
dataSource: function (opt){var time = seTimeout(() =>{var firstValue = opt.data[0].selectId;// 选中第一个数据$("#set_a16576754664451").widget().setCurrentValue(firstValue)// 数据放置到文本框$("#tex_a112832784738247").widget().setCurrentValue(firstValue)clearTimeout(time);},100);}
使用说明
copy上述代码,注入到获取数据的代码注入中;与allChildrenLoaded 层级
