refactor: playground use antdv-next

This commit is contained in:
xingyu4j
2026-05-18 16:18:46 +08:00
parent 1ec058cbe3
commit 350d5ee60e
89 changed files with 191 additions and 186 deletions

View File

@@ -1,6 +1,4 @@
<script lang="ts" setup>
import type { ChangeEvent } from 'ant-design-vue/es/_util/EventInterface';
import type { Recordable } from '@vben/types';
import type { VbenFormSchema } from '#/adapter/form';
@@ -108,7 +106,7 @@ const schema: VbenFormSchema[] = [
// 不需要处理多语言时就无需这么做
return {
...(titleSuffix.value && { addonAfter: titleSuffix.value }),
onChange({ target: { value } }: ChangeEvent) {
onChange({ target: { value } }: { target: { value: string } }) {
titleSuffix.value = value && $te(value) ? $t(value) : undefined;
},
};