| | |
| | | fn() |
| | | return fn |
| | | })(), |
| | | 1000 * 60 * 5 |
| | | 1000 * 60 * 1 |
| | | ) |
| | | if (Vue) { |
| | | Vue.$once('hook:beforeDestroy', function () { |
| | |
| | | $html.style.fontSize = `${fontsize}px` |
| | | } |
| | | }, |
| | | beforeDestroy() { |
| | | let $html = document.getElementsByTagName('html')[0] |
| | | $html.style.fontSize = '' |
| | | }, |
| | | methods: { |
| | | async getLists() { |
| | | const params = { |
| | |
| | | fn() |
| | | return fn |
| | | })(), |
| | | 1000 * 60 * 5 |
| | | 1000 * 60 * 1 |
| | | ) |
| | | if (Vue) { |
| | | Vue.$once('hook:beforeDestroy', function () { |
| | |
| | | $html.style.fontSize = `${fontsize}px` |
| | | } |
| | | }, |
| | | beforeDestroy() { |
| | | let $html = document.getElementsByTagName('html')[0] |
| | | $html.style.fontSize = '' |
| | | }, |
| | | methods: { |
| | | getLists() { |
| | | const percentArr = Object.keys(this.percents) |