Explorar o código

fix: the program can not be loaded normally

audio output detection
Casper Dai %!s(int64=3) %!d(string=hai) anos
pai
achega
a23e772401
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
     },