first commit
This commit is contained in:
1
dist/src__pages__showdata__index copy.e1479ed7.async.js
vendored
Normal file
1
dist/src__pages__showdata__index copy.e1479ed7.async.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7397],{59820:function(M,l,e){e.r(l);var m=e(57213),_=e.n(m),p=e(54306),r=e.n(p),n=e(93236),E=e(50336),d=e(35855),C=e(73469),a=e(62086);l.default=function(){var D={mapType:"Gaode",logoVisible:!1,mapOptions:{pitch:35.210526315789465,style:"dark",center:[104.288144,31.239692],zoom:4,token:"5efe6796165180bdc2c0c08d22edf962"}},f={shape:"cylinder",size:{field:"t",value:function(o){var s=o.t;return[2,2,s*2+20]}},color:{field:"t",value:["#094D4A","#146968","#1D7F7E","#289899","#34B6B7","#4AC5AF","#5FD3A6","#7BE39E","#A1EDB8","#CEF8D6"]},state:{active:!0},style:{opacity:.8}},h=(0,n.useState)(f),u=r()(h,2),v=u[0],y=u[1],O=(0,n.useState)({data:[],parser:{type:"json",x:"j",y:"w"}}),i=r()(O,2),c=i[0],P=i[1];return(0,n.useEffect)(function(){fetch("https://gw.alipayobjects.com/os/rmsportal/oVTMqfzuuRFKiDwhPSFL.json").then(function(t){return t.json()}).then(function(t){var o=t.list,s=o;P(function(j){return _()(_()({},j),{},{data:s})}),console.log(c)})},[]),(0,a.jsx)(E._z,{header:!1,pageHeaderRender:!1,token:{paddingBlockPageContainerContent:0,paddingInlinePageContainerContent:0},children:(0,a.jsx)(d.$2,_()(_()({},D),{},{style:{height:"600px"},children:(0,a.jsx)(d.ns,_()(_()({},v),{},{source:c}))}))})}},73469:function(){}}]);
|
||||
Reference in New Issue
Block a user