This commit is contained in:
zk
2023-12-11 18:34:15 +08:00
parent e449d5687b
commit 35f21a4342
11 changed files with 380 additions and 52 deletions
+4
View File
@@ -1,4 +1,5 @@
import { mapIcon1, mapIcon2, mapIcon3, mapIcon4 } from '/@/components/chinaMap/chinaHooks.ts';
import { watchIcon } from '/@/components/secondaryScreen/secondMap/secondMapHooks.ts';
/**
* @desc 创建icon
@@ -33,6 +34,9 @@ export function typeToIcon(type: string) {
if (type == '4') {
return createIcon({ icon: mapIcon3, iconSize, imageSize });
}
if (type == '6') {
return createIcon({ icon: watchIcon, iconSize: [21, 44], imageSize: [21, 44] });
}
}
/**