Browse Source

🏗 chore: specification of path names (#7843)

* chore: specification of path names

* fix ts

* remove use

* fix typo
pull/7859/head
陈帅 5 years ago
committed by GitHub
parent
commit
88499e520b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      config/routes.ts
  2. 2
      mock/listTableList.ts
  3. 0
      src/pages/TableList/components/UpdateForm.tsx
  4. 0
      src/pages/TableList/data.d.ts
  5. 0
      src/pages/TableList/index.tsx
  6. 0
      src/pages/TableList/service.ts
  7. 0
      src/pages/User/login/index.less
  8. 0
      src/pages/User/login/index.tsx

4
config/routes.ts

@ -10,7 +10,7 @@
{
name: 'login',
path: '/user/login',
component: './user/login',
component: './User/login',
},
],
},
@ -53,7 +53,7 @@
name: 'list.table-list',
icon: 'table',
path: '/list',
component: './ListTableList',
component: './TableList',
},
{
component: './404',

2
mock/listTableList.ts

@ -1,7 +1,7 @@
// eslint-disable-next-line import/no-extraneous-dependencies
import { Request, Response } from 'express';
import { parse } from 'url';
import { TableListItem, TableListParams } from '@/pages/ListTableList/data';
import { TableListItem, TableListParams } from '@/pages/TableList/data';
// mock tableListDataSource
const genList = (current: number, pageSize: number) => {

0
src/pages/ListTableList/components/UpdateForm.tsx → src/pages/TableList/components/UpdateForm.tsx

0
src/pages/ListTableList/data.d.ts → src/pages/TableList/data.d.ts

0
src/pages/ListTableList/index.tsx → src/pages/TableList/index.tsx

0
src/pages/ListTableList/service.ts → src/pages/TableList/service.ts

0
src/pages/user/login/index.less → src/pages/User/login/index.less

0
src/pages/user/login/index.tsx → src/pages/User/login/index.tsx

Loading…
Cancel
Save