fix: ApiSelect 不触发 api, 主要原因:增加 alwaysLoad 属性后默认依赖 handleFetch() 方法,该方法绑定的名称错了应该是 dropdownVisibleChange

pull/35/head
zsa 2023-09-23 20:04:46 +08:00
parent ceec03d98d
commit 485ee8502f
1 changed files with 1 additions and 1 deletions

View File

@ -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">