提交 062a2bc8 编写于 作者: X xty

修改编译警告

上级 0ef07413
...@@ -825,7 +825,7 @@ ...@@ -825,7 +825,7 @@
success: () => { success: () => {
console.log(`${key}字体加载成功`) console.log(`${key}字体加载成功`)
context.save() context.save()
const text = value["text"] as String const text = value["text"] as string
context.font = `20px ${key}` context.font = `20px ${key}`
context.fillStyle = "red" context.fillStyle = "red"
yOffset += 25 yOffset += 25
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册