From b58e87a6463ebf5109c49489c35260d7e8708653 Mon Sep 17 00:00:00 2001 From: 张晓波 <bingbo1993@126.com> Date: 星期一, 04 十二月 2023 11:11:56 +0800 Subject: [PATCH] 人脸 缓存同步菜单 --- web/src/views/MixingInfo/mixRatio.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/web/src/views/MixingInfo/mixRatio.vue b/web/src/views/MixingInfo/mixRatio.vue index 0662aa1..075a28a 100644 --- a/web/src/views/MixingInfo/mixRatio.vue +++ b/web/src/views/MixingInfo/mixRatio.vue @@ -45,7 +45,7 @@ fn() return fn })(), - 1000 * 60 * 5 + 1000 * 60 * 1 ) if (Vue) { Vue.$once('hook:beforeDestroy', function () { @@ -98,6 +98,10 @@ $html.style.fontSize = `${fontsize}px` } }, + beforeDestroy() { + let $html = document.getElementsByTagName('html')[0] + $html.style.fontSize = '' + }, methods: { async getLists() { const params = { -- Gitblit v1.9.3