special_video 隐藏输出板设置

This commit is contained in:
fangxiang 2022-08-30 08:22:31 +08:00
parent 6943d78c97
commit d203a7d1f5
1 changed files with 9 additions and 3 deletions

View File

@ -1160,13 +1160,19 @@ export default defineComponent({
($store.state.device_attribute & Protocol.EDeviceAttribute.OutputBoard) !=
0
);
if ($store.state.isSpecialVideo()) {
function_output_board_attribute.value = false;
}
watch(
() => $store.state.device_attribute,
(value) => {
function_output_board_attribute.value =
(value & Protocol.EDeviceAttribute.OutputBoard) != 0;
if ($store.state.isSpecialVideo()) {
function_output_board_attribute.value = false;
} else {
function_output_board_attribute.value =
(value & Protocol.EDeviceAttribute.OutputBoard) != 0;
}
function_mirroring_output.value =
($store.state.device_attribute &
Protocol.EDeviceAttribute.MirroringOutput) !=