添加文档注释,方便生成技术文档

This commit is contained in:
wzy-warehouse
2026-04-13 22:28:56 +08:00
parent 8ef7d36d26
commit 27fba7ce12
34 changed files with 520 additions and 160 deletions
+3 -2
View File
@@ -10,11 +10,12 @@ import {
/**
* 公共批量处理点钩子函数
* @returns 添加点的方法
*/
export const usePointsHandle = () => {
/**
* 添加点
* @param points - 点数据
* 批量添加点
* @param points - 点数据数组
* @param getDisasterIcon - 获取灾害图标的函数
* @param prefix - 前缀
* @returns 点的ID列表