How to use fromName method in storybook-root

Best JavaScript code snippet using storybook-root

dashboard.js

Source:dashboard.js Github

copy

Full Screen

1import img1 from '../assets/images/center-details-data1.png';2import img2 from '../assets/images/center-details-data2.png';3import img3 from '../assets/images/center-details-data3.png';4import img4 from '../assets/images/center-details-data4.png';5import img5 from '../assets/images/center-details-data5.png';6import img6 from '../assets/images/center-details-data6.png';7export default {8 namespace: 'dashboard',9 state: {10 name: 'lxc',11 accessFrequency: 1500,12 peakFlow: 300,13 browseCategories: {14 data: [782, 621.2, 322.1, 525.3, 265, 224],15 indicator: [16 {17 name: '食物',18 max: 1000,19 },20 {21 name: '娱乐',22 max: 1000,23 },24 {25 name: '运动',26 max: 1000,27 },28 {29 name: '家居',30 max: 1000,31 },32 {33 name: '机械',34 max: 1000,35 },36 {37 name: '学习',38 max: 1000,39 },40 ],41 },42 userIdentityCategory: {43 data: [44 {45 name: '公务',46 value: 57,47 },48 {49 name: '学生',50 value: 167,51 },52 {53 name: '教师',54 value: 123,55 },56 {57 name: '军区',58 value: 55,59 },60 {61 name: '企业',62 value: 198,63 },64 ],65 },66 offline: {67 feedback: [68 {69 title: '服务质量',70 number: 90,71 },72 {73 title: '交互体验',74 number: 82,75 },76 {77 title: '安全防护',78 number: 85,79 },80 ],81 offlinePortalData: {82 data1: [80, 152, 101, 134, 90, 130],83 data2: [120, 182, 191, 210, 170, 110],84 data3: [110, 132, 201, 154, 150, 80],85 data4: [90, 142, 161, 114, 190, 170],86 xData: ['9:00', '12:00', '15:00', '18:00', '21:00', '00:00'],87 barData: [32.2, 60.0, 32.6, 36.4, 53.3, 35.0],88 },89 },90 trafficSitua: {91 timeList: ['9:00', '12:00', '15:00', '18:00', '21:00', '00:00'],92 outData: [502.84, 205.97, 332.79, 281.55, 398.35, 214.02],93 inData: [281.55, 398.35, 214.02, 179.55, 289.57, 356.14],94 },95 userSitua: {96 header: ['用户', '时间', '状态'],97 data: [98 ['用户1', '2020-11-11 12:00', '在线'],99 ['用户2', '2020-11-11 12:00', '离线'],100 ['用户3', '2020-11-11 12:00', '在线'],101 ['用户4', '2020-11-11 12:00', '在线'],102 ['用户5', '2020-11-11 12:00', '在线'],103 ['用户6', '2020-11-11 12:00', '离线'],104 ['用户7', '2020-11-11 12:00', '在线'],105 ['用户8', '2020-11-11 12:00', '在线'],106 ['用户9', '2020-11-11 12:00', '离线'],107 ['用户11', '2020-11-11 12:00', '离线'],108 ['用户12', '2020-11-11 12:00', '离线'],109 ['用户13', '2020-11-11 12:00', '离线'],110 ],111 },112 detailsList: [113 {114 title: '图像转化流量',115 number: 260,116 unit: '点击/张',117 imgUrl: img1,118 },119 {120 title: '视频转化流量',121 number: 330,122 unit: '点击/个',123 imgUrl: img2,124 },125 {126 title: '公众号流量',127 number: 62356,128 unit: '点击/篇',129 imgUrl: img3,130 },131 {132 title: '安全服务流量',133 number: 5453,134 unit: '攻击/小时',135 imgUrl: img4,136 },137 {138 title: '金融流量',139 number: 4.65,140 unit: ' 万/小时 ',141 imgUrl: img5,142 },143 {144 title: '通信流量',145 number: 1250,146 unit: 'M /分',147 imgUrl: img6,148 },149 ],150 mapData: {151 moveLines: [152 {153 fromName: '黑龙江',154 toName: '珠海',155 coords: [156 [126.661669, 45.742347],157 [113.576726, 22.270715],158 ],159 },160 {161 fromName: '黑龙江',162 toName: '舒兰',163 coords: [164 [126.661669, 45.742347],165 [126.965607, 44.406106],166 ],167 },168 {169 fromName: '黑龙江',170 toName: '大连',171 coords: [172 [126.661669, 45.742347],173 [121.614682, 38.914003],174 ],175 },176 {177 fromName: '辽宁',178 toName: '集安',179 coords: [180 [123.42944, 41.835441],181 [126.194031, 41.125307],182 ],183 },184 {185 fromName: '吉林',186 toName: '抚顺',187 coords: [188 [126.549572, 43.837883],189 [123.957208, 41.880872],190 ],191 },192 {193 fromName: '山东',194 toName: '南京',195 coords: [196 [117.020359, 36.66853],197 [118.796877, 32.060255],198 ],199 },200 {201 fromName: '北京',202 toName: '沈阳',203 coords: [204 [116.407526, 39.90403],205 [123.431475, 41.805698],206 ],207 },208 {209 fromName: '黑龙江',210 toName: '环翠',211 coords: [212 [126.661669, 45.742347],213 [122.123444, 37.501991],214 ],215 },216 {217 fromName: '天津',218 toName: '大连',219 coords: [220 [117.200983, 39.084158],221 [121.614682, 38.914003],222 ],223 },224 {225 fromName: '吉林',226 toName: '兴和',227 coords: [228 [126.549572, 43.837883],229 [113.834173, 40.872301],230 ],231 },232 {233 fromName: '河北',234 toName: '勃利',235 coords: [236 [114.475704, 38.584854],237 [130.592171, 45.755063],238 ],239 },240 {241 fromName: '吉林',242 toName: '大连',243 coords: [244 [126.549572, 43.837883],245 [121.614682, 38.914003],246 ],247 },248 {249 fromName: '吉林',250 toName: '沈阳',251 coords: [252 [126.549572, 43.837883],253 [123.431475, 41.805698],254 ],255 },256 {257 fromName: '黑龙江',258 toName: '闵行',259 coords: [260 [126.661669, 45.742347],261 [121.381709, 31.112813],262 ],263 },264 {265 fromName: '天津',266 toName: '朝阳',267 coords: [268 [117.200983, 39.084158],269 [116.443108, 39.92147],270 ],271 },272 {273 fromName: '吉林',274 toName: '黄岛',275 coords: [276 [126.549572, 43.837883],277 [120.04619, 35.872664],278 ],279 },280 {281 fromName: '内蒙古',282 toName: '上海',283 coords: [284 [111.765618, 40.817498],285 [121.473701, 31.230416],286 ],287 },288 {289 fromName: '内蒙古',290 toName: '南京',291 coords: [292 [111.765618, 40.817498],293 [118.796877, 32.060255],294 ],295 },296 {297 fromName: '辽宁',298 toName: '杭州',299 coords: [300 [123.42944, 41.835441],301 [120.15507, 30.274085],302 ],303 },304 {305 fromName: '黑龙江',306 toName: '海城',307 coords: [308 [126.661669, 45.742347],309 [122.685217, 40.882377],310 ],311 },312 {313 fromName: '吉林',314 toName: '西城',315 coords: [316 [126.549572, 43.837883],317 [116.365868, 39.912289],318 ],319 },320 {321 fromName: '四川',322 toName: '上海',323 coords: [324 [104.075931, 30.651652],325 [121.473701, 31.230416],326 ],327 },328 {329 fromName: '黑龙江',330 toName: '西城',331 coords: [332 [126.661669, 45.742347],333 [116.365868, 39.912289],334 ],335 },336 {337 fromName: '吉林',338 toName: '丹东',339 coords: [340 [126.549572, 43.837883],341 [124.354707, 40.0005],342 ],343 },344 {345 fromName: '吉林',346 toName: '宁波',347 coords: [348 [126.549572, 43.837883],349 [121.550357, 29.874557],350 ],351 },352 {353 fromName: '辽宁',354 toName: '海淀',355 coords: [356 [123.42944, 41.835441],357 [116.298056, 39.959912],358 ],359 },360 {361 fromName: '辽宁',362 toName: '青岛',363 coords: [364 [123.42944, 41.835441],365 [120.38264, 36.067082],366 ],367 },368 {369 fromName: '吉林',370 toName: '苏州',371 coords: [372 [126.549572, 43.837883],373 [120.585316, 31.298886],374 ],375 },376 {377 fromName: '黑龙江',378 toName: '抚顺',379 coords: [380 [126.661669, 45.742347],381 [123.957208, 41.880872],382 ],383 },384 {385 fromName: '吉林',386 toName: '临安',387 coords: [388 [126.549572, 43.837883],389 [119.724733, 30.233873],390 ],391 },392 {393 fromName: '辽宁',394 toName: '烟台',395 coords: [396 [123.42944, 41.835441],397 [121.447935, 37.463822],398 ],399 },400 {401 fromName: '黑龙江',402 toName: '海淀',403 coords: [404 [126.661669, 45.742347],405 [116.298056, 39.959912],406 ],407 },408 {409 fromName: '黑龙江',410 toName: '南昌',411 coords: [412 [126.661669, 45.742347],413 [115.858198, 28.682892],414 ],415 },416 {417 fromName: '内蒙古',418 toName: '沈阳',419 coords: [420 [111.765618, 40.817498],421 [123.431475, 41.805698],422 ],423 },424 {425 fromName: '山西',426 toName: '城阳',427 coords: [428 [112.562398, 37.873532],429 [120.39631, 36.307064],430 ],431 },432 {433 fromName: '吉林',434 toName: '广州',435 coords: [436 [126.549572, 43.837883],437 [113.264435, 23.129163],438 ],439 },440 {441 fromName: '上海',442 toName: '沈阳',443 coords: [444 [121.473701, 31.230416],445 [123.431475, 41.805698],446 ],447 },448 {449 fromName: '四川',450 toName: '阳泉',451 coords: [452 [104.075931, 30.651652],453 [113.580519, 37.856972],454 ],455 },456 {457 fromName: '河北',458 toName: '桦川',459 coords: [460 [114.475704, 38.584854],461 [130.719081, 47.023001],462 ],463 },464 {465 fromName: '内蒙古',466 toName: '海淀',467 coords: [468 [111.765618, 40.817498],469 [116.298056, 39.959912],470 ],471 },472 {473 fromName: '安徽',474 toName: '河北',475 coords: [476 [117.284923, 31.861184],477 [114.475704, 38.584854],478 ],479 },480 {481 fromName: '辽宁',482 toName: '呼和浩特',483 coords: [484 [123.42944, 41.835441],485 [111.749181, 40.842585],486 ],487 },488 {489 fromName: '广西',490 toName: '茂名',491 coords: [492 [108.327546, 22.815478],493 [110.925456, 21.662999],494 ],495 },496 {497 fromName: '吉林',498 toName: '东城',499 coords: [500 [126.549572, 43.837883],501 [116.416357, 39.928353],502 ],503 },504 {505 fromName: '内蒙古',506 toName: '盘锦',507 coords: [508 [111.765618, 40.817498],509 [122.070714, 41.119997],510 ],511 },512 {513 fromName: '山东',514 toName: '哈尔滨',515 coords: [516 [117.020359, 36.66853],517 [126.534967, 45.803775],518 ],519 },520 {521 fromName: '黑龙江',522 toName: '沈阳',523 coords: [524 [126.661669, 45.742347],525 [123.431475, 41.805698],526 ],527 },528 {529 fromName: '黑龙江',530 toName: '丰台',531 coords: [532 [126.661669, 45.742347],533 [116.287149, 39.858427],534 ],535 },536 {537 fromName: '四川',538 toName: '盘锦',539 coords: [540 [104.075931, 30.651652],541 [122.070714, 41.119997],542 ],543 },544 {545 fromName: '黑龙江',546 toName: '皇姑',547 coords: [548 [126.661669, 45.742347],549 [123.44197, 41.824796],550 ],551 },552 {553 fromName: '河北',554 toName: '虎林',555 coords: [556 [114.475704, 38.584854],557 [132.93721, 45.762686],558 ],559 },560 {561 fromName: '辽宁',562 toName: '宝山',563 coords: [564 [123.42944, 41.835441],565 [131.401589, 46.577167],566 ],567 },568 {569 fromName: '黑龙江',570 toName: '吉林',571 coords: [572 [126.661669, 45.742347],573 [126.549572, 43.837883],574 ],575 },576 {577 fromName: '黑龙江',578 toName: '青岛',579 coords: [580 [126.661669, 45.742347],581 [120.38264, 36.067082],582 ],583 },584 {585 fromName: '吉林',586 toName: '烟台',587 coords: [588 [126.549572, 43.837883],589 [121.447935, 37.463822],590 ],591 },592 {593 fromName: '山东',594 toName: '临江',595 coords: [596 [117.020359, 36.66853],597 [126.918087, 41.811979],598 ],599 },600 {601 fromName: '黑龙江',602 toName: '黄岛',603 coords: [604 [126.661669, 45.742347],605 [120.04619, 35.872664],606 ],607 },608 {609 fromName: '吉林',610 toName: '石家庄',611 coords: [612 [126.549572, 43.837883],613 [114.51486, 38.042307],614 ],615 },616 {617 fromName: '吉林',618 toName: '汤原',619 coords: [620 [126.549572, 43.837883],621 [129.905072, 46.730706],622 ],623 },624 {625 fromName: '黑龙江',626 toName: '临江',627 coords: [628 [126.661669, 45.742347],629 [126.918087, 41.811979],630 ],631 },632 {633 fromName: '吉林',634 toName: '济南',635 coords: [636 [126.549572, 43.837883],637 [117.12, 36.651216],638 ],639 },640 {641 fromName: '吉林',642 toName: '太原',643 coords: [644 [126.549572, 43.837883],645 [112.548879, 37.87059],646 ],647 },648 {649 fromName: '吉林',650 toName: '威海',651 coords: [652 [126.549572, 43.837883],653 [122.12042, 37.513068],654 ],655 },656 {657 fromName: '湖北',658 toName: '深圳',659 coords: [660 [114.341862, 30.546498],661 [114.057868, 22.543099],662 ],663 },664 {665 fromName: '内蒙古',666 toName: '荣成',667 coords: [668 [111.765618, 40.817498],669 [122.486658, 37.16516],670 ],671 },672 {673 fromName: '辽宁',674 toName: '郑州',675 coords: [676 [123.42944, 41.835441],677 [113.625368, 34.7466],678 ],679 },680 {681 fromName: '黑龙江',682 toName: '朝阳',683 coords: [684 [126.661669, 45.742347],685 [116.443108, 39.92147],686 ],687 },688 {689 fromName: '吉林',690 toName: '昆山',691 coords: [692 [126.549572, 43.837883],693 [120.980737, 31.385598],694 ],695 },696 {697 fromName: '吉林',698 toName: '双城',699 coords: [700 [126.549572, 43.837883],701 [126.312745, 45.383263],702 ],703 },704 {705 fromName: '黑龙江',706 toName: '克拉玛依',707 coords: [708 [126.661669, 45.742347],709 [84.889207, 45.579889],710 ],711 },712 {713 fromName: '辽宁',714 toName: '上海',715 coords: [716 [123.42944, 41.835441],717 [121.473701, 31.230416],718 ],719 },720 {721 fromName: '吉林',722 toName: '海阳',723 coords: [724 [126.549572, 43.837883],725 [121.158434, 36.776378],726 ],727 },728 {729 fromName: '吉林',730 toName: '宣武门外东大街',731 coords: [732 [126.549572, 43.837883],733 [116.378888, 39.899332],734 ],735 },736 {737 fromName: '山东',738 toName: '海淀',739 coords: [740 [117.020359, 36.66853],741 [116.298056, 39.959912],742 ],743 },744 {745 fromName: '内蒙古',746 toName: '威海',747 coords: [748 [111.765618, 40.817498],749 [122.12042, 37.513068],750 ],751 },752 {753 fromName: '黑龙江',754 toName: '晋中',755 coords: [756 [126.661669, 45.742347],757 [112.752695, 37.687024],758 ],759 },760 {761 fromName: '西藏',762 toName: '广州',763 coords: [764 [91.117212, 29.646923],765 [113.264435, 23.129163],766 ],767 },768 {769 fromName: '辽宁',770 toName: '无锡',771 coords: [772 [123.42944, 41.835441],773 [120.31191, 31.49117],774 ],775 },776 {777 fromName: '黑龙江',778 toName: '城阳',779 coords: [780 [126.661669, 45.742347],781 [120.39631, 36.307064],782 ],783 },784 {785 fromName: '河北',786 toName: '丰台',787 coords: [788 [114.475704, 38.584854],789 [116.287149, 39.858427],790 ],791 },792 {793 fromName: '黑龙江',794 toName: '扬州',795 coords: [796 [126.661669, 45.742347],797 [119.412966, 32.39421],798 ],799 },800 {801 fromName: '辽宁',802 toName: '天津',803 coords: [804 [123.42944, 41.835441],805 [117.200983, 39.084158],806 ],807 },808 {809 fromName: '吉林',810 toName: '扬州',811 coords: [812 [126.549572, 43.837883],813 [119.412966, 32.39421],814 ],815 },816 {817 fromName: '吉林',818 toName: '嘉兴',819 coords: [820 [126.549572, 43.837883],821 [120.755486, 30.746129],822 ],823 },824 {825 fromName: '河北',826 toName: '延寿',827 coords: [828 [114.475704, 38.584854],829 [128.331644, 45.451897],830 ],831 },832 {833 fromName: '吉林',834 toName: '义乌',835 coords: [836 [126.549572, 43.837883],837 [120.075058, 29.306841],838 ],839 },840 {841 fromName: '吉林',842 toName: '张家港',843 coords: [844 [126.549572, 43.837883],845 [120.553284, 31.870367],846 ],847 },848 {849 fromName: '辽宁',850 toName: '贵阳',851 coords: [852 [123.42944, 41.835441],853 [106.630154, 26.647661],854 ],855 },856 {857 fromName: '吉林',858 toName: '辽宁',859 coords: [860 [126.549572, 43.837883],861 [123.42944, 41.835441],862 ],863 },864 {865 fromName: '河南',866 toName: '营口',867 coords: [868 [113.274379, 34.445122],869 [122.235418, 40.667012],870 ],871 },872 {873 fromName: '吉林',874 toName: '合肥',875 coords: [876 [126.549572, 43.837883],877 [117.227239, 31.820587],878 ],879 },880 {881 fromName: '黑龙江',882 toName: '苏州',883 coords: [884 [126.661669, 45.742347],885 [120.585316, 31.298886],886 ],887 },888 {889 fromName: '黑龙江',890 toName: '榆树',891 coords: [892 [126.661669, 45.742347],893 [126.533146, 44.840288],894 ],895 },896 {897 fromName: '吉林',898 toName: '常熟',899 coords: [900 [126.549572, 43.837883],901 [120.752481, 31.654376],902 ],903 },904 {905 fromName: '吉林',906 toName: '乳山',907 coords: [908 [126.549572, 43.837883],909 [121.539765, 36.919816],910 ],911 },912 {913 fromName: '四川',914 toName: '青岛',915 coords: [916 [104.075931, 30.651652],917 [120.38264, 36.067082],918 ],919 },920 {921 fromName: '黑龙江',922 toName: '深圳',923 coords: [924 [126.661669, 45.742347],925 [114.057868, 22.543099],926 ],927 },928 {929 fromName: '天津',930 toName: '东城',931 coords: [932 [117.200983, 39.084158],933 [116.416357, 39.928353],934 ],935 },936 {937 fromName: '黑龙江',938 toName: '上海',939 coords: [940 [126.661669, 45.742347],941 [121.473701, 31.230416],942 ],943 },944 {945 fromName: '天津',946 toName: '宁波',947 coords: [948 [117.200983, 39.084158],949 [121.550357, 29.874557],950 ],951 },952 {953 fromName: '吉林',954 toName: '海门',955 coords: [956 [126.549572, 43.837883],957 [121.181615, 31.871173],958 ],959 },960 {961 fromName: '山西',962 toName: '沈阳',963 coords: [964 [112.562398, 37.873532],965 [123.431475, 41.805698],966 ],967 },968 {969 fromName: '吉林',970 toName: '成都',971 coords: [972 [126.549572, 43.837883],973 [104.066541, 30.572269],974 ],975 },976 {977 fromName: '吉林',978 toName: '南昌',979 coords: [980 [126.549572, 43.837883],981 [115.858198, 28.682892],982 ],983 },984 {985 fromName: '黑龙江',986 toName: '常州',987 coords: [988 [126.661669, 45.742347],989 [119.973987, 31.810689],990 ],991 },992 {993 fromName: '内蒙古',994 toName: '兰山',995 coords: [996 [111.765618, 40.817498],997 [118.347707, 35.051729],998 ],999 },1000 {1001 fromName: '吉林',1002 toName: '河南',1003 coords: [1004 [126.549572, 43.837883],1005 [113.274379, 34.445122],1006 ],1007 },1008 {1009 fromName: '黑龙江',1010 toName: '福田',1011 coords: [1012 [126.661669, 45.742347],1013 [114.055036, 22.52153],1014 ],1015 },1016 {1017 fromName: '吉林',1018 toName: '常州',1019 coords: [1020 [126.549572, 43.837883],1021 [119.973987, 31.810689],1022 ],1023 },1024 {1025 fromName: '吉林',1026 toName: '双流',1027 coords: [1028 [126.549572, 43.837883],1029 [103.923648, 30.574473],1030 ],1031 },1032 {1033 fromName: '吉林',1034 toName: '潍坊',1035 coords: [1036 [126.549572, 43.837883],1037 [119.161756, 36.706774],1038 ],1039 },1040 {1041 fromName: '吉林',1042 toName: '延安',1043 coords: [1044 [126.549572, 43.837883],1045 [109.489727, 36.585455],1046 ],1047 },1048 {1049 fromName: '辽宁',1050 toName: '长春',1051 coords: [1052 [123.42944, 41.835441],1053 [125.323544, 43.817072],1054 ],1055 },1056 {1057 fromName: '黑龙江',1058 toName: '南京',1059 coords: [1060 [126.661669, 45.742347],1061 [118.796877, 32.060255],1062 ],1063 },1064 {1065 fromName: '辽宁',1066 toName: '和平',1067 coords: [1068 [123.42944, 41.835441],1069 [117.21451, 39.116949],1070 ],1071 },1072 {1073 fromName: '北京',1074 toName: '哈尔滨',1075 coords: [1076 [116.407526, 39.90403],1077 [126.534967, 45.803775],1078 ],1079 },1080 {1081 fromName: '吉林',1082 toName: '武汉',1083 coords: [1084 [126.549572, 43.837883],1085 [114.305393, 30.593099],1086 ],1087 },1088 {1089 fromName: '吉林',1090 toName: '海陵',1091 coords: [1092 [126.549572, 43.837883],1093 [119.919425, 32.491016],1094 ],1095 },1096 {1097 fromName: '吉林',1098 toName: '日照',1099 coords: [1100 [126.549572, 43.837883],1101 [119.526888, 35.416377],1102 ],1103 },1104 {1105 fromName: '吉林',1106 toName: '台州',1107 coords: [1108 [126.549572, 43.837883],1109 [121.420757, 28.656386],1110 ],1111 },1112 {1113 fromName: '辽宁',1114 toName: '厦门',1115 coords: [1116 [123.42944, 41.835441],1117 [118.089425, 24.479834],1118 ],1119 },1120 {1121 fromName: '黑龙江',1122 toName: '贵阳',1123 coords: [1124 [126.661669, 45.742347],1125 [106.630154, 26.647661],1126 ],1127 },1128 {1129 fromName: '吉林',1130 toName: '鞍山',1131 coords: [1132 [126.549572, 43.837883],1133 [122.994329, 41.108647],1134 ],1135 },1136 {1137 fromName: '辽宁',1138 toName: '荣成',1139 coords: [1140 [123.42944, 41.835441],1141 [122.486658, 37.16516],1142 ],1143 },1144 {1145 fromName: '黑龙江',1146 toName: '天津',1147 coords: [1148 [126.661669, 45.742347],1149 [117.200983, 39.084158],1150 ],1151 },1152 {1153 fromName: '黑龙江',1154 toName: '河西',1155 coords: [1156 [126.661669, 45.742347],1157 [117.223372, 39.109563],1158 ],1159 },1160 {1161 fromName: '黑龙江',1162 toName: '秦皇岛',1163 coords: [1164 [126.661669, 45.742347],1165 [119.600493, 39.935385],1166 ],1167 },1168 {1169 fromName: '吉林',1170 toName: '荆州',1171 coords: [1172 [126.549572, 43.837883],1173 [112.239741, 30.335165],1174 ],1175 },1176 {1177 fromName: '黑龙江',1178 toName: '东城',1179 coords: [1180 [126.661669, 45.742347],1181 [116.416357, 39.928353],1182 ],1183 },1184 {1185 fromName: '吉林',1186 toName: '即墨',1187 coords: [1188 [126.549572, 43.837883],1189 [120.447128, 36.389639],1190 ],1191 },1192 {1193 fromName: '辽宁',1194 toName: '西城',1195 coords: [1196 [123.42944, 41.835441],1197 [116.365868, 39.912289],1198 ],1199 },1200 {1201 fromName: '黑龙江',1202 toName: '大兴',1203 coords: [1204 [126.661669, 45.742347],1205 [116.341395, 39.726929],1206 ],1207 },1208 {1209 fromName: '河北',1210 toName: '哈尔滨',1211 coords: [1212 [114.475704, 38.584854],1213 [126.534967, 45.803775],1214 ],1215 },1216 {1217 fromName: '黑龙江',1218 toName: '江苏',1219 coords: [1220 [126.661669, 45.742347],1221 [118.763232, 32.061707],1222 ],1223 },1224 {1225 fromName: '吉林',1226 toName: '和平',1227 coords: [1228 [126.549572, 43.837883],1229 [117.21451, 39.116949],1230 ],1231 },1232 {1233 fromName: '江苏',1234 toName: '鸡东',1235 coords: [1236 [118.763232, 32.061707],1237 [131.12408, 45.260412],1238 ],1239 },1240 {1241 fromName: '辽宁',1242 toName: '辉南',1243 coords: [1244 [123.42944, 41.835441],1245 [126.046912, 42.684993],1246 ],1247 },1248 {1249 fromName: '吉林',1250 toName: '深圳',1251 coords: [1252 [126.549572, 43.837883],1253 [114.057868, 22.543099],1254 ],1255 },1256 {1257 fromName: '福建',1258 toName: '泰顺',1259 coords: [1260 [119.295144, 26.10078],1261 [119.717649, 27.556884],1262 ],1263 },1264 {1265 fromName: '上海',1266 toName: '深圳',1267 coords: [1268 [121.473701, 31.230416],1269 [114.057868, 22.543099],1270 ],1271 },1272 {1273 fromName: '吉林',1274 toName: '秦皇岛',1275 coords: [1276 [126.549572, 43.837883],1277 [119.600493, 39.935385],1278 ],1279 },1280 {1281 fromName: '吉林',1282 toName: '徐汇',1283 coords: [1284 [126.549572, 43.837883],1285 [121.436525, 31.188523],1286 ],1287 },1288 {1289 fromName: '吉林',1290 toName: '石景山',1291 coords: [1292 [126.549572, 43.837883],1293 [116.222982, 39.906611],1294 ],1295 },1296 {1297 fromName: '辽宁',1298 toName: '城阳',1299 coords: [1300 [123.42944, 41.835441],1301 [120.39631, 36.307064],1302 ],1303 },1304 {1305 fromName: '黑龙江',1306 toName: '威海',1307 coords: [1308 [126.661669, 45.742347],1309 [122.12042, 37.513068],1310 ],1311 },1312 {1313 fromName: '黑龙江',1314 toName: '惠州',1315 coords: [1316 [126.661669, 45.742347],1317 [114.416196, 23.111847],1318 ],1319 },1320 {1321 fromName: '吉林',1322 toName: '龙口',1323 coords: [1324 [126.549572, 43.837883],1325 [120.477813, 37.646108],1326 ],1327 },1328 {1329 fromName: '黑龙江',1330 toName: '四平',1331 coords: [1332 [126.661669, 45.742347],1333 [124.350398, 43.16642],1334 ],1335 },1336 {1337 fromName: '吉林',1338 toName: '南充',1339 coords: [1340 [126.549572, 43.837883],1341 [106.110698, 30.837793],1342 ],1343 },1344 {1345 fromName: '河北',1346 toName: '东港',1347 coords: [1348 [114.475704, 38.584854],1349 [124.152705, 39.863008],1350 ],1351 },1352 {1353 fromName: '辽宁',1354 toName: '西安',1355 coords: [1356 [123.42944, 41.835441],1357 [108.940175, 34.341568],1358 ],1359 },1360 {1361 fromName: '内蒙古',1362 toName: '滨海',1363 coords: [1364 [111.765618, 40.817498],1365 [119.820831, 33.990334],1366 ],1367 },1368 {1369 fromName: '河南',1370 toName: '青岛',1371 coords: [1372 [113.274379, 34.445122],1373 [120.38264, 36.067082],1374 ],1375 },1376 {1377 fromName: '黑龙江',1378 toName: '昆山',1379 coords: [1380 [126.661669, 45.742347],1381 [120.980737, 31.385598],1382 ],1383 },1384 {1385 fromName: '辽宁',1386 toName: '长沙',1387 coords: [1388 [123.42944, 41.835441],1389 [112.938814, 28.228209],1390 ],1391 },1392 {1393 fromName: '吉林',1394 toName: '哈尔滨',1395 coords: [1396 [126.549572, 43.837883],1397 [126.534967, 45.803775],1398 ],1399 },1400 {1401 fromName: '河北',1402 toName: '尚志',1403 coords: [1404 [114.475704, 38.584854],1405 [128.009895, 45.209586],1406 ],1407 },1408 {1409 fromName: '辽宁',1410 toName: '东城',1411 coords: [1412 [123.42944, 41.835441],1413 [116.416357, 39.928353],1414 ],1415 },1416 {1417 fromName: '辽宁',1418 toName: '珠海',1419 coords: [1420 [123.42944, 41.835441],1421 [113.576726, 22.270715],1422 ],1423 },1424 {1425 fromName: '黑龙江',1426 toName: '铁岭',1427 coords: [1428 [126.661669, 45.742347],1429 [123.726166, 42.223769],1430 ],1431 },1432 {1433 fromName: '黑龙江',1434 toName: '蓬莱',1435 coords: [1436 [126.661669, 45.742347],1437 [120.758848, 37.810661],1438 ],1439 },1440 {1441 fromName: '北京',1442 toName: '天津',1443 coords: [1444 [116.407526, 39.90403],1445 [117.200983, 39.084158],1446 ],1447 },1448 {1449 fromName: '内蒙古',1450 toName: '天津',1451 coords: [1452 [111.765618, 40.817498],1453 [117.200983, 39.084158],1454 ],1455 },1456 {1457 fromName: '黑龙江',1458 toName: '宁波',1459 coords: [1460 [126.661669, 45.742347],1461 [121.550357, 29.874557],1462 ],1463 },1464 {1465 fromName: '吉林',1466 toName: '上海',1467 coords: [1468 [126.549572, 43.837883],1469 [121.473701, 31.230416],1470 ],1471 },1472 {1473 fromName: '辽宁',1474 toName: '佛山',1475 coords: [1476 [123.42944, 41.835441],1477 [113.121416, 23.021548],1478 ],1479 },1480 {1481 fromName: '吉林',1482 toName: '长宁',1483 coords: [1484 [126.549572, 43.837883],1485 [121.424624, 31.220367],1486 ],1487 },1488 {1489 fromName: '黑龙江',1490 toName: '珲春',1491 coords: [1492 [126.661669, 45.742347],1493 [130.366036, 42.862821],1494 ],1495 },1496 {1497 fromName: '山东',1498 toName: '黄浦',1499 coords: [1500 [117.020359, 36.66853],1501 [121.484443, 31.231763],1502 ],1503 },1504 {1505 fromName: '辽宁',1506 toName: '威海',1507 coords: [1508 [123.42944, 41.835441],1509 [122.12042, 37.513068],1510 ],1511 },1512 {1513 fromName: '天津',1514 toName: '长春',1515 coords: [1516 [117.200983, 39.084158],1517 [125.323544, 43.817072],1518 ],1519 },1520 {1521 fromName: '新疆',1522 toName: '上海',1523 coords: [1524 [87.627704, 43.793026],1525 [121.473701, 31.230416],1526 ],1527 },1528 {1529 fromName: '河北',1530 toName: '鸡西',1531 coords: [1532 [114.475704, 38.584854],1533 [130.969333, 45.295075],1534 ],1535 },1536 {1537 fromName: '陕西',1538 toName: '呼和浩特',1539 coords: [1540 [108.954239, 34.265472],1541 [111.749181, 40.842585],1542 ],1543 },1544 {1545 fromName: '吉林',1546 toName: '连云港',1547 coords: [1548 [126.549572, 43.837883],1549 [119.221611, 34.596653],1550 ],1551 },1552 {1553 fromName: '黑龙江',1554 toName: '杭州',1555 coords: [1556 [126.661669, 45.742347],1557 [120.15507, 30.274085],1558 ],1559 },1560 {1561 fromName: '黑龙江',1562 toName: '嘉兴',1563 coords: [1564 [126.661669, 45.742347],1565 [120.755486, 30.746129],1566 ],1567 },1568 {1569 fromName: '陕西',1570 toName: '盘锦',1571 coords: [1572 [108.954239, 34.265472],1573 [122.070714, 41.119997],1574 ],1575 },1576 {1577 fromName: '河北',1578 toName: '同江',1579 coords: [1580 [114.475704, 38.584854],1581 [132.510919, 47.642707],1582 ],1583 },1584 {1585 fromName: '吉林',1586 toName: '杭州',1587 coords: [1588 [126.549572, 43.837883],1589 [120.15507, 30.274085],1590 ],1591 },1592 {1593 fromName: '黑龙江',1594 toName: '舟山',1595 coords: [1596 [126.661669, 45.742347],1597 [122.207216, 29.985295],1598 ],1599 },1600 {1601 fromName: '河南',1602 toName: '大连',1603 coords: [1604 [113.274379, 34.445122],1605 [121.614682, 38.914003],1606 ],1607 },1608 {1609 fromName: '辽宁',1610 toName: '绵阳',1611 coords: [1612 [123.42944, 41.835441],1613 [104.679114, 31.46745],1614 ],1615 },1616 {1617 fromName: '吉林',1618 toName: '溆浦',1619 coords: [1620 [126.549572, 43.837883],1621 [110.594921, 27.908281],1622 ],1623 },1624 {1625 fromName: '吉林',1626 toName: '朝阳',1627 coords: [1628 [126.549572, 43.837883],1629 [116.443108, 39.92147],1630 ],1631 },1632 {1633 fromName: '吉林',1634 toName: '无锡',1635 coords: [1636 [126.549572, 43.837883],1637 [120.31191, 31.49117],1638 ],1639 },1640 {1641 fromName: '浙江',1642 toName: '沈阳',1643 coords: [1644 [120.152792, 30.267447],1645 [123.431475, 41.805698],1646 ],1647 },1648 {1649 fromName: '吉林',1650 toName: '湖里',1651 coords: [1652 [126.549572, 43.837883],1653 [118.146769, 24.512905],1654 ],1655 },1656 {1657 fromName: '黑龙江',1658 toName: '无锡',1659 coords: [1660 [126.661669, 45.742347],1661 [120.31191, 31.49117],1662 ],1663 },1664 {1665 fromName: '黑龙江',1666 toName: '长宁',1667 coords: [1668 [126.661669, 45.742347],1669 [121.424624, 31.220367],1670 ],1671 },1672 {1673 fromName: '辽宁',1674 toName: '胶州',1675 coords: [1676 [123.42944, 41.835441],1677 [120.033382, 36.26468],1678 ],1679 },1680 {1681 fromName: '吉林',1682 toName: '青岛',1683 coords: [1684 [126.549572, 43.837883],1685 [120.38264, 36.067082],1686 ],1687 },1688 {1689 fromName: '河北',1690 toName: '海淀',1691 coords: [1692 [114.475704, 38.584854],1693 [116.298056, 39.959912],1694 ],1695 },1696 {1697 fromName: '黑龙江',1698 toName: '厦门',1699 coords: [1700 [126.661669, 45.742347],1701 [118.089425, 24.479834],1702 ],1703 },1704 {1705 fromName: '黑龙江',1706 toName: '中山',1707 coords: [1708 [126.661669, 45.742347],1709 [113.392782, 22.517646],1710 ],1711 },1712 {1713 fromName: '河北',1714 toName: '太原',1715 coords: [1716 [114.475704, 38.584854],1717 [112.548879, 37.87059],1718 ],1719 },1720 {1721 fromName: '新疆',1722 toName: '吉林',1723 coords: [1724 [87.627704, 43.793026],1725 [126.549572, 43.837883],1726 ],1727 },1728 {1729 fromName: '吉林',1730 toName: '武侯',1731 coords: [1732 [126.549572, 43.837883],1733 [104.04339, 30.641982],1734 ],1735 },1736 {1737 fromName: '北京',1738 toName: '廊坊',1739 coords: [1740 [116.407526, 39.90403],1741 [116.683752, 39.538047],1742 ],1743 },1744 {1745 fromName: '浙江',1746 toName: '临汾',1747 coords: [1748 [120.152792, 30.267447],1749 [111.518976, 36.088005],1750 ],1751 },1752 {1753 fromName: '湖北',1754 toName: '天津',1755 coords: [1756 [114.341862, 30.546498],1757 [117.200983, 39.084158],1758 ],1759 },1760 {1761 fromName: '黑龙江',1762 toName: '泉州',1763 coords: [1764 [126.661669, 45.742347],1765 [118.675676, 24.874132],1766 ],1767 },1768 {1769 fromName: '黑龙江',1770 toName: '温州',1771 coords: [1772 [126.661669, 45.742347],1773 [120.699367, 27.994267],1774 ],1775 },1776 {1777 fromName: '黑龙江',1778 toName: '唐山',1779 coords: [1780 [126.661669, 45.742347],1781 [118.180194, 39.630867],1782 ],1783 },1784 {1785 fromName: '北京',1786 toName: '铁岭',1787 coords: [1788 [116.407526, 39.90403],1789 [123.726166, 42.223769],1790 ],1791 },1792 {1793 fromName: '辽宁',1794 toName: '即墨',1795 coords: [1796 [123.42944, 41.835441],1797 [120.447128, 36.389639],1798 ],1799 },1800 {1801 fromName: '北京',1802 toName: '上海',1803 coords: [1804 [116.407526, 39.90403],1805 [121.473701, 31.230416],1806 ],1807 },1808 {1809 fromName: '黑龙江',1810 toName: '广州',1811 coords: [1812 [126.661669, 45.742347],1813 [113.264435, 23.129163],1814 ],1815 },1816 {1817 fromName: '吉林',1818 toName: '廊坊',1819 coords: [1820 [126.549572, 43.837883],1821 [116.683752, 39.538047],1822 ],1823 },1824 {1825 fromName: '黑龙江',1826 toName: '荣成',1827 coords: [1828 [126.661669, 45.742347],1829 [122.486658, 37.16516],1830 ],1831 },1832 {1833 fromName: '吉林',1834 toName: '海城',1835 coords: [1836 [126.549572, 43.837883],1837 [122.685217, 40.882377],1838 ],1839 },1840 {1841 fromName: '湖南',1842 toName: '沈阳',1843 coords: [1844 [112.98381, 28.112444],1845 [123.431475, 41.805698],1846 ],1847 },1848 {1849 fromName: '北京',1850 toName: '青岛',1851 coords: [1852 [116.407526, 39.90403],1853 [120.38264, 36.067082],1854 ],1855 },1856 {1857 fromName: '河北',1858 toName: '大连',1859 coords: [1860 [114.475704, 38.584854],1861 [121.614682, 38.914003],1862 ],1863 },1864 {1865 fromName: '内蒙古',1866 toName: '珠海',1867 coords: [1868 [111.765618, 40.817498],1869 [113.576726, 22.270715],1870 ],1871 },1872 {1873 fromName: '黑龙江',1874 toName: '房山',1875 coords: [1876 [126.661669, 45.742347],1877 [116.143267, 39.749144],1878 ],1879 },1880 {1881 fromName: '黑龙江',1882 toName: '金坛',1883 coords: [1884 [126.661669, 45.742347],1885 [119.597897, 31.723247],1886 ],1887 },1888 {1889 fromName: '河北',1890 toName: '齐齐哈尔',1891 coords: [1892 [114.475704, 38.584854],1893 [126.661669, 45.742347],1894 ],1895 },1896 {1897 fromName: '吉林',1898 toName: '大兴',1899 coords: [1900 [126.549572, 43.837883],1901 [116.341395, 39.726929],1902 ],1903 },1904 {1905 fromName: '吉林',1906 toName: '密云',1907 coords: [1908 [126.549572, 43.837883],1909 [116.801346, 40.35874],1910 ],1911 },1912 {1913 fromName: '黑龙江',1914 toName: '和平',1915 coords: [1916 [126.661669, 45.742347],1917 [117.21451, 39.116949],1918 ],1919 },1920 {1921 fromName: '内蒙古',1922 toName: '龙井',1923 coords: [1924 [111.765618, 40.817498],1925 [129.427066, 42.766311],1926 ],1927 },1928 {1929 fromName: '吉林',1930 toName: '道里',1931 coords: [1932 [126.549572, 43.837883],1933 [126.616957, 45.755777],1934 ],1935 },1936 {1937 fromName: '山东',1938 toName: '武汉',1939 coords: [1940 [117.020359, 36.66853],1941 [114.305393, 30.593099],1942 ],1943 },1944 {1945 fromName: '甘肃',1946 toName: '常熟',1947 coords: [1948 [103.826308, 36.059421],1949 [120.752481, 31.654376],1950 ],1951 },1952 {1953 fromName: '黑龙江',1954 toName: '烟台',1955 coords: [1956 [126.661669, 45.742347],1957 [121.447935, 37.463822],1958 ],1959 },1960 {1961 fromName: '吉林',1962 toName: '海淀',1963 coords: [1964 [126.549572, 43.837883],1965 [116.298056, 39.959912],1966 ],1967 },1968 {1969 fromName: '黑龙江',1970 toName: '长沙',1971 coords: [1972 [126.661669, 45.742347],1973 [112.938814, 28.228209],1974 ],1975 },1976 {1977 fromName: '天津',1978 toName: '石家庄',1979 coords: [1980 [117.200983, 39.084158],1981 [114.51486, 38.042307],1982 ],1983 },1984 {1985 fromName: '吉林',1986 toName: '佛山',1987 coords: [1988 [126.549572, 43.837883],1989 [113.121416, 23.021548],1990 ],1991 },1992 {1993 fromName: '辽宁',1994 toName: '黄骅',1995 coords: [1996 [123.42944, 41.835441],1997 [117.330048, 38.371383],1998 ],1999 },2000 {2001 fromName: '内蒙古',2002 toName: '中山',2003 coords: [2004 [111.765618, 40.817498],2005 [113.392782, 22.517646],2006 ],2007 },2008 {2009 fromName: '黑龙江',2010 toName: '北京',2011 coords: [2012 [126.661669, 45.742347],2013 [116.407526, 39.90403],2014 ],2015 },2016 {2017 fromName: '黑龙江',2018 toName: '三河',2019 coords: [2020 [126.661669, 45.742347],2021 [117.078295, 39.982718],2022 ],2023 },2024 {2025 fromName: '河北',2026 toName: '庆安',2027 coords: [2028 [114.475704, 38.584854],2029 [127.507825, 46.880102],2030 ],2031 },2032 {2033 fromName: '吉林',2034 toName: '长沙',2035 coords: [2036 [126.549572, 43.837883],2037 [112.938814, 28.228209],2038 ],2039 },2040 {2041 fromName: '黑龙江',2042 toName: '西安',2043 coords: [2044 [126.661669, 45.742347],2045 [108.940175, 34.341568],2046 ],2047 },2048 {2049 fromName: '内蒙古',2050 toName: '朝阳',2051 coords: [2052 [111.765618, 40.817498],2053 [116.443108, 39.92147],2054 ],2055 },2056 {2057 fromName: '辽宁',2058 toName: '丰台',2059 coords: [2060 [123.42944, 41.835441],2061 [116.287149, 39.858427],2062 ],2063 },2064 {2065 fromName: '黑龙江',2066 toName: '延吉',2067 coords: [2068 [126.661669, 45.742347],2069 [129.508946, 42.891255],2070 ],2071 },2072 {2073 fromName: '黑龙江',2074 toName: '长春',2075 coords: [2076 [126.661669, 45.742347],2077 [125.323544, 43.817072],2078 ],2079 },2080 {2081 fromName: '吉林',2082 toName: '天津',2083 coords: [2084 [126.549572, 43.837883],2085 [117.200983, 39.084158],2086 ],2087 },2088 {2089 fromName: '吉林',2090 toName: '昌平',2091 coords: [2092 [126.549572, 43.837883],2093 [116.231204, 40.22066],2094 ],2095 },2096 {2097 fromName: '吉林',2098 toName: '赣州',2099 coords: [2100 [126.549572, 43.837883],2101 [114.93503, 25.831829],2102 ],2103 },2104 {2105 fromName: '吉林',2106 toName: '厦门',2107 coords: [2108 [126.549572, 43.837883],2109 [118.089425, 24.479834],2110 ],2111 },2112 {2113 fromName: '内蒙古',2114 toName: '秦皇岛',2115 coords: [2116 [111.765618, 40.817498],2117 [119.600493, 39.935385],2118 ],2119 },2120 {2121 fromName: '内蒙古',2122 toName: '菏泽',2123 coords: [2124 [111.765618, 40.817498],2125 [115.480656, 35.23375],2126 ],2127 },2128 {2129 fromName: '吉林',2130 toName: '闵行',2131 coords: [2132 [126.549572, 43.837883],2133 [121.381709, 31.112813],2134 ],2135 },2136 {2137 fromName: '辽宁',2138 toName: '石景山',2139 coords: [2140 [123.42944, 41.835441],2141 [116.222982, 39.906611],2142 ],2143 },2144 {2145 fromName: '吉林',2146 toName: '珠海',2147 coords: [2148 [126.549572, 43.837883],2149 [113.576726, 22.270715],2150 ],2151 },2152 {2153 fromName: '内蒙古',2154 toName: '青岛',2155 coords: [2156 [111.765618, 40.817498],2157 [120.38264, 36.067082],2158 ],2159 },2160 {2161 fromName: '北京',2162 toName: '海门',2163 coords: [2164 [116.407526, 39.90403],2165 [121.181615, 31.871173],2166 ],2167 },2168 {2169 fromName: '内蒙古',2170 toName: '长春',2171 coords: [2172 [111.765618, 40.817498],2173 [125.323544, 43.817072],2174 ],2175 },2176 {2177 fromName: '吉林',2178 toName: '城阳',2179 coords: [2180 [126.549572, 43.837883],2181 [120.39631, 36.307064],2182 ],2183 },2184 {2185 fromName: '吉林',2186 toName: '大同',2187 coords: [2188 [126.549572, 43.837883],2189 [113.61244, 40.040295],2190 ],2191 },2192 {2193 fromName: '湖北',2194 toName: '邢台',2195 coords: [2196 [114.341862, 30.546498],2197 [114.504844, 37.070589],2198 ],2199 },2200 {2201 fromName: '吉林',2202 toName: '胶州',2203 coords: [2204 [126.549572, 43.837883],2205 [120.033382, 36.26468],2206 ],2207 },2208 {2209 fromName: '吉林',2210 toName: '重庆',2211 coords: [2212 [126.549572, 43.837883],2213 [106.551557, 29.56301],2214 ],2215 },2216 {2217 fromName: '河北',2218 toName: '佳木斯',2219 coords: [2220 [114.475704, 38.584854],2221 [130.318917, 46.799923],2222 ],2223 },2224 {2225 fromName: '甘肃',2226 toName: '大连',2227 coords: [2228 [103.826308, 36.059421],2229 [121.614682, 38.914003],2230 ],2231 },2232 {2233 fromName: '吉林',2234 toName: '南京',2235 coords: [2236 [126.549572, 43.837883],2237 [118.796877, 32.060255],2238 ],2239 },2240 {2241 fromName: '内蒙古',2242 toName: '日照',2243 coords: [2244 [111.765618, 40.817498],2245 [119.526888, 35.416377],2246 ],2247 },2248 {2249 fromName: '吉林',2250 toName: '鸡东',2251 coords: [2252 [126.549572, 43.837883],2253 [131.12408, 45.260412],2254 ],2255 },2256 {2257 fromName: '黑龙江',2258 toName: '即墨',2259 coords: [2260 [126.661669, 45.742347],2261 [120.447128, 36.389639],2262 ],2263 },2264 {2265 fromName: '江苏',2266 toName: '朝阳',2267 coords: [2268 [118.763232, 32.061707],2269 [116.443108, 39.92147],2270 ],2271 },2272 {2273 fromName: '吉林',2274 toName: '南通',2275 coords: [2276 [126.549572, 43.837883],2277 [120.894291, 31.980172],2278 ],2279 },2280 {2281 fromName: '黑龙江',2282 toName: '张家港',2283 coords: [2284 [126.661669, 45.742347],2285 [120.553284, 31.870367],2286 ],2287 },2288 {2289 fromName: '吉林',2290 toName: '三河',2291 coords: [2292 [126.549572, 43.837883],2293 [117.078295, 39.982718],2294 ],2295 },2296 {2297 fromName: '吉林',2298 toName: '咸阳',2299 coords: [2300 [126.549572, 43.837883],2301 [108.708991, 34.329605],2302 ],2303 },2304 {2305 fromName: '吉林',2306 toName: '中山',2307 coords: [2308 [126.549572, 43.837883],2309 [113.392782, 22.517646],2310 ],2311 },2312 {2313 fromName: '黑龙江',2314 toName: '胶州',2315 coords: [2316 [126.661669, 45.742347],2317 [120.033382, 36.26468],2318 ],2319 },2320 ],2321 },2322 },2323 reducers: {2324 updateState(state, action) {2325 console.log('payload', action)2326 return {2327 ...state,2328 ...action.payload,2329 }2330 },2331 'delete'(state, { payload: id }) {2332 return state.filter(item => item.id !== id);2333 },2334 },...

Full Screen

Full Screen

messages.ts

Source:messages.ts Github

copy

Full Screen

1export interface Message {2 fromName: string;3 subject: string;4 date: string;5 id: number;6}7const messages: Message[] = [8 {9 fromName: 'Matt Chorsey',10 subject: 'New event: Trip to Vegas',11 date: '9:32 AM',12 id: 013 },14 {15 fromName: 'comunità',16 date: '9:32 AM',17 id: 1,18 subject: 'rebrand.ly/hveon5'19 },20 {21 fromName: 'accorda e canta',22 date: '9:32 AM',23 id: 3,24 subject: 'rebrand.ly/mhtpu6'25 },26 {27 fromName: 'Signore fra le tende schierati',28 date: '9:32 AM',29 id: 4,30 subject: 'bit.ly/signorefrale'31 },32 {33 fromName: 'Volare, volare',34 date: '9:32 AM',35 id: 5,36 subject: 'bit.ly/volarevolare'37 },38 {39 fromName: 'Strade e pensieri per domani',40 date: '9:32 AM',41 id: 6,42 subject: 'bit.ly/stradeepensieri'43 },44 {45 fromName: 'Pronti a servire',46 date: '9:32 AM',47 id: 7,48 subject: 'bit.ly/prontiaservire'49 },50 {51 fromName: 'Il falco',52 date: '9:32 AM',53 id: 8,54 subject: 'bit.ly/ilfalco'55 },56 {57 fromName: 'Il cow boy Piero',58 date: '9:32 AM',59 id: 9,60 subject: 'bit.ly/ilcowboy'61 },62 {63 fromName: 'E di nuovo in route',64 date: '9:32 AM',65 id: 10,66 subject: 'bit.ly/edinuovoroute'67 },68 {69 fromName: 'Cenerentola',70 date: '9:32 AM',71 id: 11,72 subject: 'bit.ly/secenerentola'73 },74 {75 fromName: '50 special',76 date: '9:32 AM',77 id:12,78 subject: 'bit.ly/cinquantaspecial'79 },80 {81 fromName: 'Vocazione',82 date: '9:32 AM',83 id: 13,84 subject: 'bit.ly/Vocazione'85 },86 {87 fromName: 'Vivere la vita',88 date: '9:32 AM',89 id: 14,90 subject: 'bit.ly/viverelavita'91 },92 {93 fromName: 'Vieni e seguimi',94 date: '9:32 AM',95 id: 15,96 subject: 'bit.ly/vienieseguimi'97 },98 {99 fromName: 'Venti',100 date: '9:32 AM',101 id: 16,102 subject: 'bit.ly/venti20'103 },104 {105 fromName: 'Vedi lassù',106 date: '9:32 AM',107 id: 17,108 subject: 'bit.ly/vedilassu'109 },110 {111 fromName: 'Tu sei',112 date: '9:32 AM',113 id: 18,114 subject: 'bit.ly/tusei'115 },116 {117 fromName: 'Ti ringrazio mio signore',118 date: '9:32 AM',119 id: 19,120 subject: 'bit.ly/tiringraziomiosignore'121 },122 {123 fromName: 'Stupore',124 date: '9:32 AM',125 id: 20,126 subject: 'bit.ly/stuporedi'127 },128 {129 fromName: 'Spirito di dio vieni',130 date: '9:32 AM',131 id: 21,132 subject: 'bit.ly/spiritodidiovieni'133 },134 {135 fromName: 'Signore fra le tende',136 date: '9:32 AM',137 id: 22,138 subject: 'bit.ly/signorfraletende'139 },140 {141 fromName: 'Se vuoi',142 date: '9:32 AM',143 id: 23,144 subject: 'bit.ly/sevuoii'145 },146 {147 fromName: 'San Daminano',148 date: '9:32 AM',149 id: 24,150 subject: 'bit.ly/Sandamiano'151 },152 {153 fromName: 'Perfetta letizia',154 date: '9:32 AM',155 id: 25,156 subject: 'bit.ly/Perfettaletizia'157 },158 {159 fromName: 'Pace sia pace a voi',160 date: '9:32 AM',161 id: 26,162 subject: 'bit.ly/Pacesiapaceavoi'163 },164 {165 fromName: 'Mani',166 date: '9:32 AM',167 id: 27,168 subject: 'bit.ly/MaNiMaNi'169 },170 {171 fromName: 'Le tre tende',172 date: '9:32 AM',173 id: 28,174 subject: 'bit.ly/letretende'175 },176 {177 fromName: 'Il signore della danza',178 date: '9:32 AM',179 id: 29,180 subject: 'bit.ly/ilsignoredelladanza'181 },182 {183 fromName: 'I bambini di betlemme',184 date: '9:32 AM',185 id: 30,186 subject: 'bit.ly/ibambinidibetlemme'187 },188 {189 fromName: 'Freedom',190 date: '9:32 AM',191 id: 31,192 subject: 'bit.ly/ohlibertà'193 },194 {195 fromName: 'Ecco quel che abbiamo',196 date: '9:32 AM',197 id: 32,198 subject: 'bit.ly/eccoquelcheabbiamo'199 },200 {201 fromName: 'E segni nuovi',202 date: '9:32 AM',203 id: 33,204 subject: 'bit.ly/esegninuovi'205 },206 {207 fromName: 'E la strada si apre',208 date: '9:32 AM',209 id: 34,210 subject: 'bit.ly/elastradasiapre'211 },212 {213 fromName: 'Dopo la pioggia',214 date: '9:32 AM',215 id: 35,216 subject: 'bit.ly/dopolapioggia'217 },218 {219 fromName: 'Dolce sentire',220 date: '9:32 AM',221 id: 36,222 subject: 'bit.ly/dolceSentire'223 },224 {225 fromName: 'Colore del sole',226 date: '9:32 AM',227 id: 37,228 subject: 'bit.ly/coloredelsole'229 },230 {231 fromName: 'Chi',232 date: '9:32 AM',233 id: 38,234 subject: 'bit.ly/filtraunraggio'235 },236 {237 fromName: 'Canto della promessa',238 date: '9:32 AM',239 id: 39,240 subject: 'bit.ly/cantodellapromessa'241 }242];243export const getMessages = () => messages;...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1const fromName = require('storybook-root').fromName;2const fromName = require('storybook-root').fromName;3const fromName = require('storybook-root').fromName;4const fromName = require('storybook-root').fromName;5const fromName = require('storybook-root').fromName;6const fromName = require('storybook-root').fromName;7const fromName = require('storybook-root').fromName;8const fromName = require('storybook-root').fromName;9const fromName = require('storybook-root').fromName;10const fromName = require('storybook-root').fromName;11const fromName = require('storybook-root').fromName;12const fromName = require('storybook-root').fromName;13const fromName = require('storybook-root').fromName;14const fromName = require('storybook-root').fromName;15const fromName = require('storybook-root').fromName;16const fromName = require('storybook-root').fromName;17const fromName = require('storybook-root').fromName;18const fromName = require('storybook-root').fromName;19const fromName = require('storybook-root').fromName;

Full Screen

Using AI Code Generation

copy

Full Screen

1import { fromName } from 'storybook-root';2const { fromName } = require('storybook-root');3import { fromName } from 'storybook-root';4const { fromName } = require('storybook-root');5import { fromName } from 'storybook-root';6const { fromName } = require('storybook-root');7import { fromName } from 'storybook-root';8const { fromName } = require('storybook-root');9import { fromName } from 'storybook-root';10const { fromName } = require('storybook-root');11import { fromName } from 'storybook-root';12const { fromName } = require('storybook-root');13import { fromName } from 'storybook-root';14const { fromName } = require('storybook-root');15import { fromName } from 'storybook-root';16const { fromName } = require('storybook-root');17import { fromName } from 'storybook-root';18const { fromName } = require('storybook-root');19import { fromName } from 'storybook-root';20const { fromName } = require('storybook-root');

Full Screen

Using AI Code Generation

copy

Full Screen

1import { fromName } from 'storybook-root';2export default fromName('test');3export const test = fromName('test');4export const story1 = fromName('test', 'story1');5export const story2 = fromName('test', 'story2');6export const story3 = fromName('test', 'story3');7export const story4 = fromName('test', 'story4');8export const story5 = fromName('test', 'story5');9export const story6 = fromName('test', 'story6');10export const story7 = fromName('test', 'story7');11export const story8 = fromName('test', 'story8');12export const story9 = fromName('test', 'story9');13export const story10 = fromName('test', 'story10');14export const story11 = fromName('test', 'story11');

Full Screen

Using AI Code Generation

copy

Full Screen

1var fromName = require("storybook-root").fromName;2var story = fromName("test");3console.log(story);4var fromName = require("storybook-root").fromName;5var story = fromName("test");6console.log(story);7var fromName = require("storybook-root").fromName;8var story = fromName("test");9console.log(story);10var fromName = require("storybook-root").fromName;11var story = fromName("test2");12console.log(story);

Full Screen

Using AI Code Generation

copy

Full Screen

1import { fromName } from 'storybook-root'2const storybookRoot = fromName('storybook-root')3console.log(storybookRoot)4import { fromName } from 'storybook-root'5const storybookRoot = fromName('storybook-root')6console.log(storybookRoot)7import { fromName } from 'storybook-root'8const storybookRoot = fromName('storybook-root')9console.log(storybookRoot)10import { fromName } from 'storybook-root'11const storybookRoot = fromName('storybook-root')12console.log(storybookRoot)13import { fromName } from 'storybook-root'14const storybookRoot = fromName('storybook-root')15console.log(storybookRoot)16import { fromName } from 'storybook-root'17const storybookRoot = fromName('storybook-root')18console.log(storybookRoot)19import { fromName } from 'storybook-root'20const storybookRoot = fromName('storybook-root')21console.log(storybookRoot)22import {

Full Screen

Using AI Code Generation

copy

Full Screen

1import { fromName } from 'storybook-addon-jsx';2const jsx = fromName('Button');3console.log(jsx);4import { configure, addDecorator } from '@storybook/react';5import { jsxDecorator } from 'storybook-addon-jsx';6addDecorator(jsxDecorator);7configure(require.context('../src', true, /\.stories\.js$/), module);8import React from 'react';9import { storiesOf } from '@storybook/react';10import Button from '../components/Button';11storiesOf('Button', module)12 .add('with text', () => <Button>Primary</Button>)13 .add('with some emoji', () => (14 ));15import React from 'react';16import PropTypes from 'prop-types';17import './Button.css';18const Button = ({ children, onClick }) => (19 <button onClick={onClick} className="btn btn-primary">20 {children}21);22Button.propTypes = {23};24Button.defaultProps = {25 onClick: () => {},26};27export default Button;28.btn {29 padding: 8px 16px;30 font-size: 14px;31 border-radius: 4px;32 border: none;33 cursor: pointer;34 outline: none;35 transition: background-color 100ms ease-in-out;36}37.btn-primary {38 background-color: #007bff;39 color: #fff;40}41.btn-primary:hover {42 background-color: #0069d9;43}44import React from 'react';45import { storiesOf } from '@storybook/react';46import Button from '../components/Button';47storiesOf('Button', module)48 .add('with text', () => <Button>Primary</Button>)49 .add('with some emoji', () => (

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run storybook-root automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful