feat: 多语言

This commit is contained in:
菲鸽
2024-05-12 16:24:37 +08:00
parent ddcba22c3e
commit c51391570f
3 changed files with 26 additions and 3 deletions

View File

@@ -1,7 +1,17 @@
<template>
<wd-config-provider>
<wd-config-provider :themeVars="themeVars">
<slot />
<wd-toast />
<wd-message-box />
</wd-config-provider>
</template>
<script lang="ts" setup>
import type { ConfigProviderThemeVars } from 'wot-design-uni'
const themeVars: ConfigProviderThemeVars = {
// colorTheme: 'red',
// buttonPrimaryBgColor: '#07c160',
// buttonPrimaryColor: '#07c160',
}
</script>