真机上用SVG路径方式创建Path2D报错,模拟器没问题,什么问题?
真机上用SVG path方式创建Path2D报错,模拟器没问题,为什么?
const p0 = new Path2D('M0,17.9322971 C5.61532453,24.4437317 10.3525062,28.1893917 14.2115451,29.169277 C16.8867392,29.848561 20.1217384,24.1110756 28.904537,14.2758908 C30.9285487,12.0093548 33.9603697,9.32524387 38,6.22355807');
错误:
MiniProgramError
“illegal param to init BindingPath2D”
String