|
@@ -93,6 +93,11 @@ const handleMessage = (res) => {
|
|
if (Object.prototype.toString.call(res.data) == "[object Object]") {
|
|
if (Object.prototype.toString.call(res.data) == "[object Object]") {
|
|
|
|
|
|
if (res.data.from === "4dkankan" && res.data.event == 'apps:panorama') {
|
|
if (res.data.from === "4dkankan" && res.data.event == 'apps:panorama') {
|
|
|
|
+ // 有mesh场景音乐,需要暂停播放全景音乐
|
|
|
|
+
|
|
|
|
+ if (res.data.params.music) {
|
|
|
|
+ store.dispatch("audio/pauseBGM",0);
|
|
|
|
+ }
|
|
if (res.data.params.showSceneList != void 0) {
|
|
if (res.data.params.showSceneList != void 0) {
|
|
store.commit("functions/setShowScenesList", res.data.params.showSceneList);
|
|
store.commit("functions/setShowScenesList", res.data.params.showSceneList);
|
|
}
|
|
}
|