This commit is contained in:
xiaojunnuo
2024-10-18 19:04:13 +08:00
parent 57d8d48046
commit 0b86de401f
3 changed files with 5 additions and 2 deletions
@@ -43,7 +43,7 @@ const attrs = useAttrs();
const optionsRef = ref([]);
const message = ref("");
const getOptions = async () => {
return await doRequest(
const res = await doRequest(
{
type: props.type,
typeName: props.typeName,
@@ -56,6 +56,8 @@ const getOptions = async () => {
}
}
);
message.value = "";
return res;
};
const filterOption = (input: string, option: any) => {