自动获取IP时,不显示ip控件。

This commit is contained in:
fangxiang 2022-05-26 18:01:18 +08:00
parent 7ec5075c74
commit dd22532cdd
1 changed files with 4 additions and 5 deletions

View File

@ -101,7 +101,7 @@
/>
</q-item-section>
</q-item>
<q-item :disable="auto_ip == $t('enable')">
<q-item v-if="auto_ip != $t('enable')">
<q-item-section avatar class="width_5_1">{{
$t("ip address") + ":"
}}</q-item-section>
@ -123,7 +123,7 @@
/>
</q-item-section>
</q-item>
<q-item :disable="auto_ip == $t('enable')">
<q-item v-if="auto_ip != $t('enable')">
<q-item-section avatar class="width_5_1">{{
$t("gateway") + ":"
}}</q-item-section>
@ -145,7 +145,7 @@
/>
</q-item-section>
</q-item>
<q-item :disable="auto_ip == $t('enable')">
<q-item v-if="auto_ip != $t('enable')">
<q-item-section avatar class="width_5_1">{{
$t("netmask") + ":"
}}</q-item-section>
@ -1188,8 +1188,7 @@ export default defineComponent({
support_resolutions.target_resolution.timing;
}
mirroring_output.value =
config.device_hdmi_output_count == 2 ? true : false;
mirroring_output.value = config.device_hdmi_output_count == 2;
}, 1);
brightness.value = parseInt(config.graphics_brightness.toString());