System对话框修复SpecialVideo下OutputBoard可见的BUG

System对话框修复SpecialVideo下Clean Browser Cache
This commit is contained in:
fangxiang 2022-12-01 14:35:36 +08:00
parent 799c9cb82a
commit c9439b7e78
3 changed files with 19 additions and 10 deletions

View File

@ -27,6 +27,7 @@ Cookies.set("language", language, {
(<any>window).currnet_use_language = language; (<any>window).currnet_use_language = language;
const i18n = createI18n({ const i18n = createI18n({
legacy: false,
locale: language, locale: language,
messages, messages,
}); });

View File

@ -9,7 +9,7 @@
:draggable=" :draggable="
prop.node.uuid != '' && prop.node.uuid != '' &&
$store.state.power_state && $store.state.power_state &&
!prop.node.item_data.system_default (!prop.node.item_data.system_default || !prop.node.is_group)
" "
@dragstart="(evt) => onDragStart(evt, prop.node)" @dragstart="(evt) => onDragStart(evt, prop.node)"
@dragover="(evt) => onDragOver(evt, prop.node)" @dragover="(evt) => onDragOver(evt, prop.node)"
@ -319,6 +319,9 @@ export default defineComponent({
(item) => item && (item as any).uuid == uuid (item) => item && (item as any).uuid == uuid
); );
if (signal_source_group) { if (signal_source_group) {
if (signal_source_group.system_default) {
return;
}
if ( if (
signal_source_group.parent_uuid == node.item_data.uuid signal_source_group.parent_uuid == node.item_data.uuid
) { ) {
@ -340,6 +343,10 @@ export default defineComponent({
(item) => item && (item as any).uuid == uuid (item) => item && (item as any).uuid == uuid
); );
if (signal_source) { if (signal_source) {
if (signal_source.system_default) {
return;
}
if (signal_source.group_uuid == node.item_data.uuid) { if (signal_source.group_uuid == node.item_data.uuid) {
return; return;
} }

View File

@ -81,18 +81,12 @@
:label="$t('timing task')" :label="$t('timing task')"
:disable="loading" :disable="loading"
/> />
<q-tab
name="other"
no-caps
icon="build"
:label="$t('other setting')"
:disable="loading"
/>
<q-tab <q-tab
v-if=" v-if="
$store.state.advanced_debug || $store.state.advanced_debug ||
(!$store.state.custom_defines.is_custom_isv && (!$store.state.custom_defines.is_custom_isv &&
$store.state.custom_defines.function_output_board) $store.state.custom_defines.function_output_board &&
$store.state.isLedPlayer())
" "
name="output_board" name="output_board"
no-caps no-caps
@ -100,6 +94,13 @@
:label="$t('output board setting')" :label="$t('output board setting')"
:disable="loading" :disable="loading"
/> />
<q-tab
name="other"
no-caps
icon="build"
:label="$t('other setting')"
:disable="loading"
/>
<q-tab <q-tab
name="user" name="user"
no-caps no-caps
@ -1224,7 +1225,7 @@
/> />
<q-space /> <q-space />
</q-item> </q-item>
<q-item class="border"> <q-item class="border" v-if="$store.state.isLedPlayer()">
<q-space /> <q-space />
<q-btn <q-btn
@click="onCleanBrowserCache" @click="onCleanBrowserCache"