fix: ApiSelect 不触发 api, 主要原因:增加 alwaysLoad 属性后默认依赖 handleFetch() 方法,该方法绑定的名称错了应该是 dropdownVisibleChange
parent
ceec03d98d
commit
485ee8502f
|
@ -134,7 +134,7 @@ function handleChange(_, ...args) {
|
|||
|
||||
<template>
|
||||
<Select
|
||||
v-bind="$attrs" v-model:value="state" :options="getOptions" @dropdown-open-change="handleFetch"
|
||||
v-bind="$attrs" v-model:value="state" :options="getOptions" @dropdown-visible-change="handleFetch"
|
||||
@change="handleChange"
|
||||
>
|
||||
<template v-for="item in Object.keys($slots)" #[item]="data">
|
||||
|
|
Loading…
Reference in New Issue