refactor: playground use antdv-next
This commit is contained in:
@@ -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;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user