fix: resolve miniapp node_module error

This commit is contained in:
openwayne 2021-03-27 20:43:27 +08:00 committed by Yanyan Wang
parent 9801416a32
commit 49b448f7b3

View File

@ -71,6 +71,7 @@ export const shapeBase: ShapeOptions = {
return deepMix(
{
// 解决局部渲染导致的文字移动残影问题
// 额外判断window.getComputedStyle的原因为如果nodemodule不安装在src目录下小程序会有一个错误的window
labelCfg: {
style: {
fontFamily: