Merge remote-tracking branch 'origin/feature/0902_antd组件替换' into test

# Conflicts:
#	src/App.vue
#	src/components/common-select/index.vue
#	src/layouts/components/navbar/components/task-center-modal/components/import-task/index.vue
#	src/views/components/login/index.vue
#	src/views/home/components/history-conversation-drawer/index.vue
#	src/views/login/style.scss
#	src/views/property-marketing/media-account/account-manage/components/add-account-modal/index.vue
This commit is contained in:
rd
2025-09-10 16:13:54 +08:00
233 changed files with 5624 additions and 6240 deletions

View File

@ -3,26 +3,29 @@
* @Date: 2025-06-25 14:02:40
-->
<template>
<a-select
v-model="selectedValues"
:multiple="multiple"
size="medium"
<Select
v-model:value="selectedValues"
:mode="multiple ? 'multiple' : undefined"
size="middle"
:placeholder="placeholder"
:allow-clear="allClear"
:allow-search="allowSearch"
:max-tag-count="maxTagCount"
:allowClear="allClear"
:showSearch="allowSearch"
showArrow
:maxTagCount="maxTagCount"
@change="handleChange"
>
<a-option v-for="(item, index) in options" :key="index" :value="item.id" :label="item.name">
<Option v-for="(item, index) in options" :key="index" :value="item.id" :label="item.name">
<div class="flex items-center">
<img v-if="item.icon" :src="item.icon" class="w-16px h-16px mr-8px rounded-4px" />
{{ item.name }}
</div>
</a-option>
</a-select>
</Option>
</Select>
</template>
<script setup>
import { Select } from 'ant-design-vue';
const { Option } = Select;
import { ref, watch } from 'vue';
const props = defineProps({