mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-08 07:31:09 +08:00
refactor(tenant-toggle): 更新SelectProps为SelectEmits类型
修改导入类型以匹配antdv-next的更新,保持类型一致性
This commit is contained in:
@@ -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,
|
||||
) => {
|
||||
|
||||
Reference in New Issue
Block a user