@@ -298,8 +298,7 @@ export class ListDataService extends ListData {
298298 {
299299 name : 'React' ,
300300 title : 'React' ,
301- imgSrc :
302- 'https://codingthesmartway.com/wp-content/uploads/2019/12/logo_react.png' ,
301+ imgSrc : 'https://codingthesmartway.com/wp-content/uploads/2019/12/logo_react.png' ,
303302 content :
304303 'DevUI 是面向企业中后台产品的开源前端解决方案,其设计价值观基于"至简"、"沉浸"、"灵活"三种自然与人文相结合的理念,旨在为设计....' ,
305304 actions : [
@@ -333,8 +332,7 @@ export class ListDataService extends ListData {
333332 {
334333 name : 'Webpack' ,
335334 title : 'Webpack' ,
336- imgSrc :
337- 'https://webpack.js.org/icon-square-small.85ba630cf0c5f29ae3e3.svg' ,
335+ imgSrc : 'https://webpack.js.org/icon-square-small.85ba630cf0c5f29ae3e3.svg' ,
338336 content :
339337 'DevUI 是面向企业中后台产品的开源前端解决方案,其设计价值观基于"至简"、"沉浸"、"灵活"三种自然与人文相结合的理念,旨在为设计....' ,
340338 actions : [
@@ -383,8 +381,7 @@ export class ListDataService extends ListData {
383381 {
384382 name : 'React' ,
385383 title : 'React' ,
386- imgSrc :
387- 'https://codingthesmartway.com/wp-content/uploads/2019/12/logo_react.png' ,
384+ imgSrc : 'https://codingthesmartway.com/wp-content/uploads/2019/12/logo_react.png' ,
388385 content :
389386 'DevUI 是面向企业中后台产品的开源前端解决方案,其设计价值观基于"至简"、"沉浸"、"灵活"三种自然与人文相结合的理念,旨在为设计....' ,
390387 actions : [
@@ -418,8 +415,7 @@ export class ListDataService extends ListData {
418415 {
419416 name : 'Webpack' ,
420417 title : 'Webpack' ,
421- imgSrc :
422- 'https://webpack.js.org/icon-square-small.85ba630cf0c5f29ae3e3.svg' ,
418+ imgSrc : 'https://webpack.js.org/icon-square-small.85ba630cf0c5f29ae3e3.svg' ,
423419 content :
424420 'DevUI 是面向企业中后台产品的开源前端解决方案,其设计价值观基于"至简"、"沉浸"、"灵活"三种自然与人文相结合的理念,旨在为设计....' ,
425421 actions : [
@@ -468,8 +464,7 @@ export class ListDataService extends ListData {
468464 {
469465 name : 'React' ,
470466 title : 'React' ,
471- imgSrc :
472- 'https://codingthesmartway.com/wp-content/uploads/2019/12/logo_react.png' ,
467+ imgSrc : 'https://codingthesmartway.com/wp-content/uploads/2019/12/logo_react.png' ,
473468 content :
474469 'DevUI 是面向企业中后台产品的开源前端解决方案,其设计价值观基于"至简"、"沉浸"、"灵活"三种自然与人文相结合的理念,旨在为设计....' ,
475470 actions : [
@@ -503,8 +498,7 @@ export class ListDataService extends ListData {
503498 {
504499 name : 'Webpack' ,
505500 title : 'Webpack' ,
506- imgSrc :
507- 'https://webpack.js.org/icon-square-small.85ba630cf0c5f29ae3e3.svg' ,
501+ imgSrc : 'https://webpack.js.org/icon-square-small.85ba630cf0c5f29ae3e3.svg' ,
508502 content :
509503 'DevUI 是面向企业中后台产品的开源前端解决方案,其设计价值观基于"至简"、"沉浸"、"灵活"三种自然与人文相结合的理念,旨在为设计....' ,
510504 actions : [
@@ -520,11 +514,8 @@ export class ListDataService extends ListData {
520514 } ,
521515 ] ;
522516
523- private pagerList ( data , pager ) {
524- return data . slice (
525- pager . pageSize * ( pager . pageIndex - 1 ) ,
526- pager . pageSize * pager . pageIndex
527- ) ;
517+ private pagerList ( data : Item [ ] | Card [ ] , pager : ListPager ) {
518+ return data . slice ( pager . pageSize ! * ( pager . pageIndex ! - 1 ) , pager . pageSize ! * pager . pageIndex ! ) ;
528519 }
529520
530521 getListData ( pager : ListPager ) : Observable < any > {
0 commit comments