refactor(tenant-toggle): 更新SelectProps为SelectEmits类型
修改导入类型以匹配antdv-next的更新,保持类型一致性
This commit is contained in:
parent
1f859c45fa
commit
62abaedbdb
@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import type { SelectProps } from 'antdv-next';
|
||||
import type { SelectEmits } from 'antdv-next';
|
||||
import type { MessageType } from 'antdv-next/dist/message/interface';
|
||||
|
||||
import type { TenantOption } from '#/api';
|
||||
@ -73,7 +73,7 @@ const loading = ref(false);
|
||||
* @param tenantId tenantId
|
||||
* @param option 当前option
|
||||
*/
|
||||
const onSelected: SelectProps['onSelect'] = async (
|
||||
const onSelected: SelectEmits['onSelect'] = async (
|
||||
tenantId: string,
|
||||
option: any,
|
||||
) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user