Commit d0190f23 authored by “yiyousong”'s avatar “yiyousong”

fix:修改根字体大小

parent 45bf7582
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
} }
} }
html { html{
font-size: var(--base-font-size); font-size: var(--base-font-size);
} }
......
...@@ -3206,12 +3206,16 @@ export default { ...@@ -3206,12 +3206,16 @@ export default {
this.$router.push(url); this.$router.push(url);
}, },
}, },
beforeDestroy() {
// 重置根字体大小
let root = document.documentElement;
root.style.fontSize = "16px";
},
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import "./index.css"; @import "./index.css";
@headerH: 4.5rem; @headerH: 4.5rem;
.platform, .platform,
.content, .content,
.modal { .modal {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment