Fix widgets not cleared (fix #4731)

This commit is contained in:
the1812 2024-05-12 13:28:00 +08:00
parent 8f701e9434
commit 57c281988b

View File

@ -63,6 +63,7 @@ export default Vue.extend({
},
watch: {
allWidgets() {
this.widgets = []
this.allWidgets.forEach(async (w: Widget) => {
const add = await widgetFilter(w)
if (add) {