update
This commit is contained in:
@@ -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] });
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user