File tree Expand file tree Collapse file tree 5 files changed +2
-18
lines changed Expand file tree Collapse file tree 5 files changed +2
-18
lines changed Original file line number Diff line number Diff line change 1- import { getUrlParams } from './utils' ;
21
32const titles = [
43 'Alipay' ,
Original file line number Diff line number Diff line change @@ -3,27 +3,13 @@ import { Mock } from 'react-fetch-mock';
33import { getRule , postRule } from './rule' ;
44import { getActivities , getNotice , getFakeList } from './api' ;
55import { getFakeChartData } from './chart' ;
6- import { imgMap } from './utils' ;
76import { getProfileBasicData } from './profile' ;
87import { getProfileAdvancedData } from './profile' ;
98import { getNotices } from './notices' ;
109
1110export default {
1211 // 支持值为 Object 和 Array
1312 'GET /api/currentUser' : ( ) => {
14- // $desc: "获取当前用户接口",
15- // $params: {
16- // pageSize: {
17- // desc: '分页',
18- // exp: 2,
19- // },
20- // },
21- // $body: {
22- // name: 'momo.zxy',
23- // avatar: imgMap.user,
24- // userid: '00000001',
25- // notifyCount: 12,
26- // },
2713 return {
2814 name : 'Serati Ma' ,
2915 avatar : 'https://gw.alipayobjects.com/zos/rmsportal/eHBsAsOrrJcnvFlnzNTT.png' ,
Original file line number Diff line number Diff line change 1- import { getUrlParams } from './utils' ;
21
32// mock tableListDataSource
43let tableListDataSource = [ ] ;
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export default class CardList extends PureComponent {
6666 < Card hoverable className = { styles . card } actions = { [ < a > 操作一</ a > , < a > 操作二</ a > ] } >
6767 < Card . Meta
6868 avatar = { < img alt = "" className = { styles . cardAvatar } src = { item . avatar } /> }
69- title = { < a href = "# " > { item . title } </ a > }
69+ title = { < a href = "" > { item . title } </ a > }
7070 description = { (
7171 < Ellipsis className = { styles . item } lines = { 3 } > { item . description } </ Ellipsis >
7272 ) }
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export default class CoverCardList extends PureComponent {
6363 cover = { < img alt = { item . title } src = { item . cover } height = { 154 } /> }
6464 >
6565 < Card . Meta
66- title = { < a href = "# " > { item . title } </ a > }
66+ title = { < a href = "" > { item . title } </ a > }
6767 description = { item . subDescription }
6868 />
6969 < div className = { styles . cardItemContent } >
You can’t perform that action at this time.
0 commit comments