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]: 主视区loading存在不生效情况 #900

Open
l-moondream opened this issue Jan 26, 2022 · 1 comment
Open

[Bug]: 主视区loading存在不生效情况 #900

l-moondream opened this issue Jan 26, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@l-moondream
Copy link

gin-vue-admin 版本

2.4.3

Node 版本

v14.17.6

Golang 版本

go 1.16

是否依旧存在

可以

bug描述

1.以项目中的服务器状态模块为例
2.打开服务器状态页面,停留1,2分钟,此时接口已发送十来次
3.打开api管理页面,设置浏览器network为slow 3G
4.点击api管理查询,接口请求为pending状态
5.主视区设置的loading没有生效
image

修改建议

require.js的closeLoading函数未对donNotShowLoading为true时进行限制。可以对closeLoading函数中的acitveAxios--添加判断条件。
image

@l-moondream l-moondream added the bug Something isn't working label Jan 26, 2022
@l-moondream l-moondream changed the title [Bug]: [Bug]: 主视区loading存在不生效情况 Jan 28, 2022
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

No branches or pull requests

5 participants
@SliverHorn @songzhibin97 @l-moondream @bypanghu and others