uniapp编译钉钉小程序组件报错及dPath.startsWith is not a function

651 阅读1分钟

需要在相应的json文件中写入 "component": true,如图:

image.png
其次,如果component:true不慎写入usingComponents中会报错:
dPath.startsWith is not a function 可以参考解决方式