叶松
2023-12-04 02ad691290b0320d43945e6952e86980975ae801
web/src/views/MixingInfo/mixing.vue
@@ -46,7 +46,7 @@
            fn()
            return fn
        })(),
        1000 * 60 * 5
        1000 * 60 * 1
    )
    if (Vue) {
        Vue.$once('hook:beforeDestroy', function () {
@@ -100,6 +100,10 @@
            $html.style.fontSize = `${fontsize}px`
        }
    },
    beforeDestroy() {
        let $html = document.getElementsByTagName('html')[0]
        $html.style.fontSize = ''
    },
    methods: {
        getLists() {
            const percentArr = Object.keys(this.percents)