0

检查这张图片我想在 DropdownOptions 中得到同样的结果,比如 https://i.stack.imgur.com/ihfJn.png

我在属性窗格上完美地获得了键和标题我也只需要显示列表中的图像,我是 spfx 和 pnpjs webpart 开发的新手谢谢,,,,,

  results.forEach((item)=>{
    
    this._listFields.push({key: item.ID , text:item.Title , ImageSrc:item.File.Name});
     
  });
        PropertyFieldMultiSelect('GetFrom', {  
              key: 'GetFrom',  
              label: "filter items",  
              options: this._listFields,
              selectedKeys:this.properties.GetFrom,
              
            })
4

0 回答 0