Prechádzať zdrojové kódy

fix: the program can not be loaded normally

audio output detection
Casper Dai 3 rokov pred
rodič
commit
a23e772401
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/views/bigscreen/core/base.js

+ 1 - 1
src/views/bigscreen/core/base.js

@@ -60,7 +60,7 @@ export default {
         if (this.node.bgm.length) {
           return true
         }
-        return this.node.widgets.some(widget => widget.mute === 0 && (widget.sources.length || widget.url))
+        return this.node.widgets.some(widget => widget.mute === 0 && (widget.sources?.length || widget.url))
       }
       return false
     },