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

🐛 [Bug]: pro示例套件菜单点击报Maximum call stack size exceeded,页面无法跳转 #128

Closed
qichaoh opened this issue Mar 11, 2024 · 2 comments · Fixed by #136
Labels
bug Something isn't working

Comments

@qichaoh
Copy link

qichaoh commented Mar 11, 2024

Version

v1.1.0

node-version

v16.14.2

Link to minimal reproduction

按照文档tiny-cli的方法创建新项目,选pro + vue.

Step to reproduce

tiny-cli新创建的项目,随机点几个菜单之后点击个人中心,或者直接点个人中心菜单,基本属于必现。
image

What is expected

不报错,页面正常跳转

What is actually happening

报错RangeError: Maximum call stack size exceeded at triggerEffects,路由无法跳转,点击其他菜单路由也无法跳转

Any additional comments (optional)

No response

@kagol kagol added the bug Something isn't working label Mar 29, 2024
fengyon added a commit to fengyon/tiny-cli that referenced this issue Apr 19, 2024
@fengyon
Copy link
Contributor

fengyon commented Apr 19, 2024

感谢您的反馈,我们已经排查出问题并将尽快发版修复
修复措施:
1、文件: src/store/modules/app/index.ts 第 10 行

 - return { ...state };
 + return state;

2、文件: src/store/modules/user/index.ts 第40行

 - return { ...state };
 + return state;

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Thank you for your feedback. We have identified the problem and will release it as soon as possible.
Fixes:

  1. File: src/store/modules/app/index.ts line 10
 - return { ...state };
 + return state;
  1. File: src/store/modules/user/index.ts line 40
 - return { ...state };
 + return state;

fengyon added a commit to fengyon/tiny-cli that referenced this issue Apr 19, 2024
h-ivy pushed a commit that referenced this issue Apr 22, 2024
* fix(toolkit/pro): fix the error: Maximum call stack size exceeded

fix #128

* fix(toolkit/pro): fix the error: Maximum call stack size exceeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants