fix(use-device-selection): default select to Camera
This commit is contained in:
@@ -8,7 +8,7 @@ export function useDeviceSelection() {
|
|||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
const selectedStationCode = ref<string>();
|
const selectedStationCode = ref<string>();
|
||||||
const selectedDeviceType = ref<DeviceTypeVal>(DeviceType.AlarmHost);
|
const selectedDeviceType = ref<DeviceTypeVal>(DeviceType.Camera);
|
||||||
const selectedDevice = ref<NdmDeviceResultVO>();
|
const selectedDevice = ref<NdmDeviceResultVO>();
|
||||||
|
|
||||||
const initFromRoute = (lineDevices: LineDevices) => {
|
const initFromRoute = (lineDevices: LineDevices) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user