🐛 少了一个 + 号

This commit is contained in:
远程支持 2020-03-22 11:57:29 +08:00
parent d6e6965523
commit 76e66a29ea

View File

@ -17,7 +17,7 @@ export class AppService {
}
async font_min(text: string, font: string,server_url:string) {
/** 因为 text 为 空或者是空格之类的 会导致 fontmin 运算很久 */
text='●'
text+='●'
const srcPath = `${font_src}${font}.ttf`; // 字体源文件
const outPath = `asset/font/${Date.now()}/`;
const destPath = `./${outPath}`; // 输出路径