Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • Task Adventures Task Adventures
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Redmine
    • Redmine
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FrontEnd-Intern-CampFrontEnd-Intern-Camp
  • Task AdventuresTask Adventures
  • Merge requests
  • !1

refactor(del-locale): del locale and openAPI.

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Hao Chen requested to merge cherry-pick-e2ad6a8c into 0-setup-and-exceptions 2 years ago
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

(cherry picked from commit e2ad6a8c)

Compare
  • 0-setup-and-exceptions (base)

and
  • latest version
    b3287e6b
    1 commit, 2 years ago

1 file
+ 0
− 21

    Preferences

    File browser
    Compare changes
config/config.ts
+ 0
− 21
  • View file @ b3287e6b

  • Edit in single-file editor

  • Open in Web IDE


@@ -21,13 +21,6 @@ export default defineConfig({
...defaultSettings,
},
// https://umijs.org/zh-CN/plugins/plugin-locale
locale: {
// default zh-CN
default: 'zh-CN',
antd: true,
// default true, when it is true, will use `navigator.language` overwrite default
baseNavigator: true,
},
dynamicImport: {
loading: '@ant-design/pro-layout/es/PageLoading',
},
@@ -51,20 +44,6 @@ export default defineConfig({
},
// Fast Refresh 热更新
fastRefresh: {},
openAPI: [
{
requestLibPath: "import { request } from 'umi'",
// 或者使用在线的版本
// schemaPath: "https://gw.alipayobjects.com/os/antfincdn/M%24jrzTTYJN/oneapi.json"
schemaPath: join(__dirname, 'oneapi.json'),
mock: false,
},
{
requestLibPath: "import { request } from 'umi'",
schemaPath: 'https://gw.alipayobjects.com/os/antfincdn/CA1dOm%2631B/openapi.json',
projectName: 'swagger',
},
],
nodeModulesTransform: { type: 'none' },
mfsu: {},
webpack5: {},
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
1
1 Participant
Hao Chen
Reference: frontend-intern-camp/task-adventures!1
Source branch: cherry-pick-e2ad6a8c

Menu

Explore Projects Groups Topics Snippets