From a30ff222ec73ad0898e92d1c569f72863445d413 Mon Sep 17 00:00:00 2001 From: xiaoQQya <xiaoQQya@126.com> Date: 星期二, 07 十一月 2023 09:37:40 +0800 Subject: [PATCH] fix(player): 修复分屏页面视频无法自动播放的问题 --- web_src/src/components/service/MediaServer.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web_src/src/components/service/MediaServer.js b/web_src/src/components/service/MediaServer.js old mode 100644 new mode 100755 index 36474ea..d4446f0 --- a/web_src/src/components/service/MediaServer.js +++ b/web_src/src/components/service/MediaServer.js @@ -10,9 +10,9 @@ this.$axios({ method: 'get', url:`/api/server/media_server/online/list`, - }).then(function (res) { + }).then((res) => { if (typeof (callback) == "function") callback(res.data) - }).catch(function (error) { + }).catch((error) => { console.log(error); }); } -- Gitblit v1.8.0