修复时钟信号源和天气信号源无法设置轮询的问题

This commit is contained in:
fangxiang 2022-05-28 19:20:22 +08:00
parent 6e9bd396d0
commit 460d2d8f29
1 changed files with 1 additions and 6 deletions

View File

@ -119,7 +119,7 @@
{{ $t("lower window") }} {{ $t("lower window") }}
</q-item-section> </q-item-section>
</q-item> </q-item>
<div v-if="!is_clock_window"> <div>
<q-item <q-item
clickable clickable
v-close-popup v-close-popup
@ -308,10 +308,6 @@ export default defineComponent({
calc_is_audio_player_window(signal_source.value.window_type) calc_is_audio_player_window(signal_source.value.window_type)
); );
const is_clock_window = computed(() => {
return signal_source.value.window_type == "EwindowType::Clock";
});
watch( watch(
() => props.window, () => props.window,
(n, o) => { (n, o) => {
@ -348,7 +344,6 @@ export default defineComponent({
signal_source, signal_source,
flags, flags,
is_audo_player_window, is_audo_player_window,
is_clock_window,
calc_is_audio_player_window, calc_is_audio_player_window,
onMouseDown(evt: MouseEvent) { onMouseDown(evt: MouseEvent) {