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

fix:修改根字体大小

parent 45bf7582
......@@ -8,7 +8,7 @@
}
}
html {
html{
font-size: var(--base-font-size);
}
......
......@@ -3206,12 +3206,16 @@ export default {
this.$router.push(url);
},
},
beforeDestroy() {
// 重置根字体大小
let root = document.documentElement;
root.style.fontSize = "16px";
},
};
</script>
<style lang="less" scoped>
@import "./index.css";
@headerH: 4.5rem;
.platform,
.content,
.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