mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
refactor(form): select 暴露getOptions方法
This commit is contained in:
parent
155c22311d
commit
1f93b4e93c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user