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;
const i18n = createI18n({
legacy: false,
locale: language,
messages,
});

View File

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

View File

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