Commit 53372ede authored by 罗超's avatar 罗超

修复字体

parent 2f652379
......@@ -8,8 +8,10 @@ export const ResolveFonts = (item: any): any[] => {
for (let i = 0; i < fonts.length; i++) {
let x = fonts[i];
if(/^\d+/.test(x)){
x=x.replace(/[0-9]/ig,"")
x=x.replace('-','')
// x=x.replace(/[0-9]/ig,"")
// x=x.replace('-','')
x='aa'+x
x=x.replaceAll('-','')
}
fonts[i]=x
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment