Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【plugin-dva】 [app.model] namespace should be unique #833

Open
RainManGO opened this issue Apr 16, 2022 · 2 comments
Open

【plugin-dva】 [app.model] namespace should be unique #833

RainManGO opened this issue Apr 16, 2022 · 2 comments

Comments

@RainManGO
Copy link

umi2 升级 umi3 ,老项目里写在pages 的 model.js 文件里面写上了namespace,但是注册的时候还是使用文件名,导致文件名一样。

看了下文档:

文件名即 namespace,model 内如果没有声明 namespace,会以文件名作为 namespace

QQ20220416-144715@2x

image

@shayumo
Copy link

shayumo commented Jul 26, 2022

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

@1029800858
Copy link

同样的问题,也是umi2升级umi3
同样请问解决了嘛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants