mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-04-11 11:23:14 +08:00
refactor: 全局启用 抗锯齿字体
This commit is contained in:
@@ -36,8 +36,18 @@ useUploadTip();
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ConfigProvider :locale="antdLocale" :theme="tokenTheme">
|
<ConfigProvider :locale="antdLocale" :theme="tokenTheme">
|
||||||
<App class="antialiased">
|
<App>
|
||||||
<RouterView />
|
<RouterView />
|
||||||
</App>
|
</App>
|
||||||
</ConfigProvider>
|
</ConfigProvider>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
body {
|
||||||
|
/**
|
||||||
|
* 全局启用 抗锯齿字体
|
||||||
|
* @see https://developer.mozilla.org/zh-CN/docs/Web/CSS/font-smooth
|
||||||
|
*/
|
||||||
|
@apply antialiased;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user