如题,用的js-xlsx插件生成excel文件,怎么设置填充色呀
ws[XLSX.utils.encode_cell({
c : x + 1,
r : y + 1
})].s = {fill: { bgColor: { rgb: "30000000" }}}
我这么写没效果
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
闭关修行中......