1
0
mirror of synced 2025-12-08 01:57:56 +08:00

refactor(form): select 暴露getOptions方法

This commit is contained in:
roymondchen
2022-05-18 16:57:59 +08:00
parent 155c22311d
commit 805ac6c90e

View File

@@ -345,6 +345,8 @@ export default defineComponent({
moreLoadingVisible,
popperClass: mForm?.popperClass,
getOptions,
getRequestFuc() {
return getConfig('request');
},
@@ -366,11 +368,6 @@ export default defineComponent({
}
},
async editAfterAction() {
pgIndex.value = 0;
options.value = await getOptions();
},
async remoteMethod(q: string) {
if (!localOptions.value.length) {
query.value = q;