This commit is contained in:
dzc committed 2025-08-01 21:04:26 +08:00
1 parent 18f947caa1
commit 6a56dc5278
1 file changed
+3 -13
+3 -13
View File
@@ -1,17 +1,7 @@
<template>
<el-select
style="width: 100%"
v-model="state.selectId"
:placeholder="props.placeholder"
clearable
remote-show-suffix
filterable
remote
:disabled="props.disabled"
:remote-method="remoteSearch"
:loading="state.loading"
@visible-change="(e: boolean) => e && getOptions()"
>
<el-select style="width: 100%" v-model="state.selectId" :placeholder="props.placeholder" multiple clearable
remote-show-suffix filterable remote :disabled="props.disabled" :remote-method="remoteSearch"
:loading="state.loading" @visible-change="(e: boolean) => e && getOptions()">
<el-option v-for="v in state.options" :key="v.roleId" :label="`${v.roleName}`" :value="v.roleId">
<div class="flex items-center">
<div class="color-primary">{{ v.roleName }}</div>