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

feat: 接口请求优化以及修复attrs问题 #281

Closed
wants to merge 1 commit into from

Conversation

skique
Copy link
Collaborator

@skique skique commented Jun 13, 2024

改动内容

  1. 编辑页左侧的菜单监听权限数据,填充相应权限的菜单,避免编辑页重复发起权限请求
  2. 导航守卫的权限接口先判断跳转时是否是编辑页再判断跳转的编辑页的id是否改变来请求接口,避免每次路由改变发起权限请求
  3. 增加函数缓存,用在导航守卫的权限接口和协作下拉框数据接口上, 避免应用重复请求下拉框数据以及对相同的问卷id发起重复请求
  4. 优化返回按钮的路由跳转方式
  5. 去掉使用不到的attrs透传
  6. 去掉部分console.log

@skique skique closed this Jun 14, 2024
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

Successfully merging this pull request may close these issues.

1 participant