修改基础的一些配置

This commit is contained in:
wzy-warehouse
2026-04-14 08:08:01 +08:00
parent 27fba7ce12
commit 61725b8b1e
15 changed files with 179 additions and 36 deletions
@@ -0,0 +1,18 @@
import { debrisFlowIcon, landslideIcon, riskAreaIcon } from '@/assets';
/**
* 暴雨图例钩子函数
* @returns 图例数据列表
*/
export const useEarthquakeLegend = () => {
/**
* 图例数据
*/
const legendList = [
{ name: '滑坡隐患点', link: landslideIcon },
{ name: '泥石流隐患点', link: debrisFlowIcon },
{ name: '风险区域', link: riskAreaIcon },
];
return { legendList };
};