refactor(form): select 暴露getOptions方法

This commit is contained in:
roymondchen 2022-05-18 16:57:59 +08:00 committed by jia000
parent 155c22311d
commit 1f93b4e93c

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;