Closed quicklearning123 closed 3 years ago
Hello @quicklearning123. In order to facilitate location and troubleshooting, we need you to provide a realistic example. Please forking these link codesandbox umi or using yarn create @umijs/umi-app
to create and upload it to your GitHub repository.
你好 @quicklearning123, 为了方便定位和排查问题,我们需要你提供一个重现实例,请提供一个尽可能精简的链接 codesandbox umi 或使用 yarn create @umijs/umi-app
创建,并上传到你的 GitHub 仓库。
Since the issue was labeled with Need Reproduce
, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要可复现步骤,却 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复。
What happens?
dynamicImport: { loading: '@ant-design/pro-layout/es/PageLoading', },
Mini Showcase Repository(REQUIRED)
Please provide a repository using
yarn create @umijs/umi-app
then upload to your GitHub 请提供一个可复现的仓库,使用yarn create @umijs/umi-app
创建,并上传到你的 GitHub 仓库How To Reproduce
Steps to reproduce the behavior: 1. 2.
Expected behavior 1. 2.
Context
- Umi Version: 3.3.7
- Node Version: 14
- Platform:mac
请问你解决了吗,我也是这样
我也遇到这种无限loading ,手动刷新的问题
老哥解决了没,我现在都不是手动刷新的问题了 卡loading 有的模块 刷了也没用
现在服务器构建如果把构建缓存留着偶尔还会卡图片
我这边的项目有这个问题 , 表现:点击切换左侧路由菜单 有的菜单会展示内容(无接口调用的页面) 有的菜单一直展示loading 点击切换菜单会发现js文件加载了 。但是返回值是一个很简单的结构
复现很不稳定、 分享下umirc配置吧 。 ` import { defineConfig } from 'umi'; import routes from './src/routes'; import theme from './src/config/theme'; import webpackConfig from './src/config/plugin.config.js';
export default defineConfig({ nodeModulesTransform: { type: 'none', }, hash: true, layout: { title: '', navTheme: 'dark', name: 'ant-design-pro', theme: 'PRO', locale: true, showBreadcrumb: true, siderWidth: 208, layout: 'side', contentWidth: 'Fluid', fixedHeader: false, fixSiderbar: true, colorWeak: false, pwa: false, iconfontUrl: '', }, routes, targets: { ie: 11 }, access: { strictMode: true, }, esbuild: {}, fastRefresh: {}, proxy: { '/m1': { target: 'https://mock.apifox.cn/', changeOrigin: true, }, }, alias: { service: '@/services', requestUrl: '@/services/config', config: '@/config', tools: '@/utils/tools', components: '@/components', hooks: '@/utils/hooks', }, dynamicImport: { loading: '@ant-design/pro-layout/es/PageLoading', }, theme, }); `
老哥解决了没,我现在都不是手动刷新的问题了 卡loading 有的模块 刷了也没用
请问你们的问题解决了吗?
现在还有这个问题,偶现 umi:3.5.20 react: 17.x
现在还有这个问题,偶现 umi:3.5.20 react: 17.x
我的是 umi 3.5.30 react: 17.x
What happens?
Mini Showcase Repository(REQUIRED)
How To Reproduce
Steps to reproduce the behavior: 1. 2.
Expected behavior 1. 2.
Context