feat: 修复构建.

This commit is contained in:
lijiahangmax
2024-01-09 23:53:45 +08:00
parent 0bb7b5bc62
commit d78d2a2053
38 changed files with 121 additions and 73 deletions

View File

@@ -47,7 +47,7 @@
</template>
</a-button>
</a-tooltip>
<a-dropdown trigger="click" @select="changeLocale">
<a-dropdown trigger="click" @select="s => changeLocale(s as string)">
<div ref="localeRef" class="trigger-btn" />
<template #content>
<a-doption v-for="item in locales"

View File

@@ -10,7 +10,7 @@
<!-- 开关 -->
<a-switch v-else-if="type === 'switch'"
type="round"
:default-checked="defaultValue"
:default-checked="defaultValue as boolean"
size="small"
@change="handleChange" />
<!-- 单选按钮 -->