shishuaikang
2023-12-01 17d224a823e7342f82856d4baf9f73bdf813a3ea
h5页面定时器改1分钟
已修改2个文件
12 ■■■■ 文件已修改
web/src/views/MixingInfo/mixRatio.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web/src/views/MixingInfo/mixing.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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 = {
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)