网络设置调换子网掩码和默认网关的位置,保持和Windows网络设置的顺序一致
This commit is contained in:
parent
b0751a1b18
commit
225fbd4faf
|
@ -177,13 +177,13 @@
|
||||||
v-if="true || auto_ip != $t('enable')"
|
v-if="true || auto_ip != $t('enable')"
|
||||||
>
|
>
|
||||||
<q-item-section avatar class="width_5_1">{{
|
<q-item-section avatar class="width_5_1">{{
|
||||||
$t("gateway") + ":"
|
$t("netmask") + ":"
|
||||||
}}</q-item-section>
|
}}</q-item-section>
|
||||||
<q-item-section>
|
<q-item-section>
|
||||||
<q-input
|
<q-input
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:disable="auto_ip == $t('enable') || loading"
|
:disable="auto_ip == $t('enable') || loading"
|
||||||
v-model="gateway"
|
v-model="netmask"
|
||||||
maxlength="15"
|
maxlength="15"
|
||||||
:rules="[
|
:rules="[
|
||||||
(val) =>
|
(val) =>
|
||||||
|
@ -202,13 +202,13 @@
|
||||||
v-if="true || auto_ip != $t('enable')"
|
v-if="true || auto_ip != $t('enable')"
|
||||||
>
|
>
|
||||||
<q-item-section avatar class="width_5_1">{{
|
<q-item-section avatar class="width_5_1">{{
|
||||||
$t("netmask") + ":"
|
$t("gateway") + ":"
|
||||||
}}</q-item-section>
|
}}</q-item-section>
|
||||||
<q-item-section>
|
<q-item-section>
|
||||||
<q-input
|
<q-input
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:disable="auto_ip == $t('enable') || loading"
|
:disable="auto_ip == $t('enable') || loading"
|
||||||
v-model="netmask"
|
v-model="gateway"
|
||||||
maxlength="15"
|
maxlength="15"
|
||||||
:rules="[
|
:rules="[
|
||||||
(val) =>
|
(val) =>
|
||||||
|
@ -1737,7 +1737,6 @@ export default defineComponent({
|
||||||
output_board_volume.value = settings.volume;
|
output_board_volume.value = settings.volume;
|
||||||
output_board_mute.value = settings.mute ? $t.t("on") : $t.t("off");
|
output_board_mute.value = settings.mute ? $t.t("on") : $t.t("off");
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
output_board_resolution_options.value = [];
|
output_board_resolution_options.value = [];
|
||||||
for (const item of Object.keys(
|
for (const item of Object.keys(
|
||||||
|
@ -2043,7 +2042,11 @@ export default defineComponent({
|
||||||
.getCurrentClient()
|
.getCurrentClient()
|
||||||
?.setOutputBoardSetting(request);
|
?.setOutputBoardSetting(request);
|
||||||
success = true;
|
success = true;
|
||||||
if ($store.state.custom_defines.function_magic_wall && response&&success) {
|
if (
|
||||||
|
$store.state.custom_defines.function_magic_wall &&
|
||||||
|
response &&
|
||||||
|
success
|
||||||
|
) {
|
||||||
const output_length =
|
const output_length =
|
||||||
parseInt(output_board_wall_col.value.toString()) *
|
parseInt(output_board_wall_col.value.toString()) *
|
||||||
parseInt(output_board_wall_row.value.toString());
|
parseInt(output_board_wall_row.value.toString());
|
||||||
|
|
Loading…
Reference in New Issue