代码拉取完成,页面将自动刷新
v18.16.1
,16.xx.x也可以8.10.0
,🎈新版采用pnpm安装依赖注意:地图JSON数据来源与阿里的datax,启动项目必须是有网的情况下才能正常显示地图
git clone https://gitee.com/shaohqfspace/PublicbigScreenPage.git
cd PublicbigScreenPage
pnpm instll
pnpm run serve
可通过修改
AreaCode
进行自定义地图
let AreaCode = '100000'
onMounted(() => {
initMaps();
getGeoJsonall(`${AreaCode}_full`).then((e) => {
setMapDom(e.data.features);
});
getGeoJsonall(AreaCode).then((e) => {
// console.log()
setmapborder(e.data.features);
});
});
Property name "fullWarp" is not PascalCase
需要首字母大写如果启动的时候会造成页面样式加载失败,请重新安装windicss/vite插件,重新再次运行npm install ,最后执行npm run serve
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。