You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your issue, I have fixed it, an error will be returned if given an invalid custom number format when creating a new style, please upgrade to the master branch code, and this patch will be released in the next version.
在生产中遇到的问题,CustomNumFmt接受的是一个字符串的引用,但是当这个字符串为空串的时候,生成的文件就会出现问题。
生成的文件,如果用WPS打开是可以顺利打开的

但是使用微软的Office Excel打开,就会出现报错:文件损坏
所以做了控制,当空串时,就不赋值,即可解决问题
The text was updated successfully, but these errors were encountered: