Commit 750ccf3a authored by 姬鋆屾's avatar 姬鋆屾
parents d64ce9aa fe507ab0
......@@ -8,7 +8,7 @@
}
}
html {
html{
font-size: var(--base-font-size);
}
......
......@@ -3222,12 +3222,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