1. 28 Jun, 2019 1 commit
  2. 25 Jun, 2019 1 commit
  3. 22 Jun, 2019 1 commit
    • senique's avatar
      fix: paths of same prefix problem. (#4560) · 4a10734d
      senique authored
      Paths of same prefix will return the last match. It will occurs:
      Routes:
      {
        path: '/',
        authority: ['admin', 'user']
        routes: [
      	{
      	  path: '/prefix2',
            authority: ['user']
      	},
      	{
      	  path: '/prefix',
            authority: ['admin']
      	},
        ]
      }
      
      Problem:
      When user visit the '/prefix2', it will match the '/prefix', then Exception403 occurs.
      4a10734d
  4. 18 Jun, 2019 1 commit
    • 陈帅's avatar
      fix ts file error for eslint (#4336) · 277ea601
      陈帅 authored
      * fix ts file error for eslint
      
      * add format-imports script
      
      * sort all code
      
      * remove lint:ts
      
      * remove tslint
      
      * remove lint:ts
      
      * up layout
      
      * remove a empty test
      
      * rm tslint config
      
      * use umi config
      
      * prettier all code
      
      * use @umijs/fabric
      
      * [CodeFactor] Apply fixes to commit 69d4f9a
      
      [ci skip] [skip ci]
      277ea601
  5. 29 May, 2019 1 commit
  6. 14 May, 2019 1 commit
  7. 30 Mar, 2019 1 commit
    • 何乐's avatar
      [v4] fix type definition (#3851) · f046426b
      何乐 authored
      - location, history, match 等定义改为从 umi 引入继承
      - 更新部分依赖的版本
      - 一些其他的类型定义优化
      f046426b
  8. 14 Mar, 2019 1 commit
    • 何乐's avatar
      [v4] Strict ts (#3723) · 0bc812b7
      何乐 authored
      * short-term use of tslint
      
      * fix lint error
      
      * connect & dispatch definition
      
      * replace `SFC` with `FunctionComponent`
      
      * SiderMenu
      
      * TopNavHeader
      
      * HeaderSearch
      
      * components
      
      * layouts
      
      * layouts
      
      * pages
      
      * fix authorize fail
      
      * SettingDrawer
      
      * remove one `as any`
      0bc812b7
  9. 11 Mar, 2019 1 commit
    • 陈小聪's avatar
      [v4] transform typescript (#3702) · 1abac6a3
      陈小聪 authored
      * merge v3 to v4
      
      * src/components/IconFont
      
      * src/components/PageLoading
      
      * src/components/SelectLang
      
      * src/components/SettingDrawer
      
      * remove e2e and test
      
      * src/components/TopNavHeader
      
      * src/components/GlobalHeader
      
      * src/components/HeaderDropdown
      
      * src/components/HeaderSearch
      
      * src/components/TopNavHeader
      
      * fix error
      
      * mock
      
      * move defaultSettings
      
      * global.txs
      
      * src/locales
      
      * remove lint mock
      
      * fix ci test error
      
      * change PureComponent to Component, interface IDefaultSettings
      
      * Don't prefix interface with I
      Close: #3706
      
      * strictNullChecks set true
      1abac6a3