plugins
plugins copied to clipboard
【plugin-dva】 [app.model] namespace should be unique
umi2 升级 umi3 ,老项目里写在pages 的 model.js 文件里面写上了namespace,但是注册的时候还是使用文件名,导致文件名一样。
看了下文档:
文件名即 namespace,model 内如果没有声明 namespace,会以文件名作为 namespace


同样的问题,也是umi2升级umi3