fix: 解决全屏切换直接关闭后菜单不显示的问题 (#6894)

Refs #6889
This commit is contained in:
ssongliu 2024-10-30 16:12:39 +08:00 committed by ssongliu
parent 31576138bf
commit cdb0f8e85c

View File

@ -100,7 +100,7 @@ onMounted(() => {
loadStatus();
loadProductProFromDB();
globalStore.isFullScreen = false;
const mqList = window.matchMedia('(prefers-color-scheme: dark)');
if (mqList.addEventListener) {
mqList.addEventListener('change', () => {