Skip to content

Commit

Permalink
fix(ma-remote-select): 修复 api 参数未传入 axiosConfig 配置项 (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
kanyxmo authored Dec 18, 2024
1 parent b680e31 commit 87975c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/ma-remote-select/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function handleChange(value: any) {

function request() {
if (props?.api && typeof props.api === 'function') {
props.api().then((res: any) => {
props.api(props.axiosConfig).then((res: any) => {
options.value = props?.dataHandle?.(res) ?? res.data
}).catch((err) => {
msg.error(err)
Expand Down

0 comments on commit 87975c9

Please sign in to comment.