getImage="ribbon.GetImage" 不能指定为数据库的字符串或者网络路径吗?
请问下,ribbon.xml里面的回调函数getImage 只能返回成本地的文件吗?不能直接调用数据库的字符串或者网络路径,这样不行吗?
const svgString = `<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><title>star</title><g fill="#000000" stroke-linejoin="round" stroke-linecap="round"><polygon fill="none" stroke="#000000" stroke-width="4" stroke-linecap="round" stroke-miterlimit="10" points="24,4.98 30.18,17.5 44,19.508 34,29.256 36.36,43.02 24,36.524 11.64,43.02 14,29.256 4,19.508 17.82,17.5 " stroke-linejoin="round"></polygon></g></svg>`
return svgString //直接调用数据库的字符串或者网络路径不行吗