|
|
@@ -89,7 +89,7 @@ export const useParamsSettingFn = () => {
|
|
|
const createFence = (fencePolygon: FencePolygonPoints) => {
|
|
|
const allFences = fenceStore.allFences;
|
|
|
const lastItemId = allFences[allFences.length - 1]?.id || 1;
|
|
|
- fenceStore.allFences = [...allFences, { polygon: fencePolygon, name: '电子围栏', id: lastItemId + 1 }];
|
|
|
+ fenceStore.allFences = [...allFences, { polygon: fencePolygon, name: '电子围栏', id: lastItemId + 1, label: '' }];
|
|
|
// updateBatchCameraFence();
|
|
|
};
|
|
|
|