🐛(component): 恢复 provider 组件

This commit is contained in:
就眠儀式 2022-07-19 09:52:13 +08:00
parent f7ebab3b9c
commit 80a793d151
3 changed files with 4 additions and 9 deletions

View File

@ -278,4 +278,4 @@ const boxStyle = computed(() => {
</div>
</div>
</div>
</template>
</template>

View File

@ -15,7 +15,6 @@ import {
auto as followSystemColorScheme,
setFetchMethod,
} from "@umijs/ssr-darkreader";
import { v4 as uuidv4 } from "../utils/guidUtil";
export interface LayConfigProviderProps {
locale?: string;
@ -30,8 +29,6 @@ const props = withDefaults(defineProps<LayConfigProviderProps>(), {
theme: "light",
});
const id = uuidv4();
const { locale, setLocaleMessage, mergeLocaleMessage } = useI18n();
const ignoreInlineStyle = [
@ -133,7 +130,5 @@ watch(
</script>
<template>
<div :id="id">
<slot></slot>
</div>
</template>

View File

@ -32,7 +32,7 @@
>
<span
>{{ t("home.download") }}<em class="site-showdowns"
>16,297</em
>14,684</em
></span
>
</div>
@ -43,7 +43,7 @@
rel="nofollow"
class="site-star"
>
<i class="layui-icon"></i> Star <cite id="getStars">1326</cite>
<i class="layui-icon"></i> Star <cite id="getStars">1296</cite>
</a>
<a
href="https://gitee.com/layui-vue"
@ -347,4 +347,4 @@ body {
font-size: 13.6px;
background: #f9f9f9;
}
</style>
</style>