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

Refs #6889
This commit is contained in:
ssongliu 2024-10-30 16:12:39 +08:00 committed by GitHub
parent 4849c6b42d
commit 79e9dc9914
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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', () => {