refactor(form): select 暴露getOptions方法
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user