修复替换信号源后窗口句柄没刷新的BUG
This commit is contained in:
parent
67b41ece63
commit
6aed12baa4
|
@ -687,11 +687,9 @@ export default defineComponent({
|
|||
|
||||
const parseFilter = (filter?: string) => {
|
||||
filters.value = [];
|
||||
console.log(filter);
|
||||
if (filter == null || typeof filter == "undefined") {
|
||||
return;
|
||||
}
|
||||
console.log(filter);
|
||||
|
||||
if (filter) {
|
||||
for (const item of filter.split(";")) {
|
||||
|
|
|
@ -338,6 +338,8 @@ export default defineComponent({
|
|||
} else {
|
||||
selected_window.value = null;
|
||||
is_multimedia_window.value = false;
|
||||
can_pause_window.value = false;
|
||||
can_next_prev_window.value = false;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
|
@ -307,6 +307,7 @@ export default defineComponent({
|
|||
window_id: temp.window_id,
|
||||
});
|
||||
} else {
|
||||
$store.commit("setSelectedWindow", "");
|
||||
$store.commit("removeWindow", {
|
||||
window_id: temp.window_id,
|
||||
});
|
||||
|
|
|
@ -177,6 +177,8 @@ export default defineComponent({
|
|||
} else {
|
||||
selected_window.value = null;
|
||||
is_multimedia_window.value = false;
|
||||
can_pause_window.value = false;
|
||||
can_next_prev_window.value = false;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
|
@ -492,6 +492,7 @@ export default defineComponent({
|
|||
window_id: temp.window_id,
|
||||
});
|
||||
} else {
|
||||
$store.commit("setSelectedWindow", "");
|
||||
$store.commit("removeWindow", {
|
||||
window_id: temp.window_id,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue