mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-29 22:16:36 +08:00
refactor(form): select 暴露getOptions方法
This commit is contained in:
parent
155c22311d
commit
1f93b4e93c
@ -345,6 +345,8 @@ export default defineComponent({
|
|||||||
moreLoadingVisible,
|
moreLoadingVisible,
|
||||||
popperClass: mForm?.popperClass,
|
popperClass: mForm?.popperClass,
|
||||||
|
|
||||||
|
getOptions,
|
||||||
|
|
||||||
getRequestFuc() {
|
getRequestFuc() {
|
||||||
return getConfig('request');
|
return getConfig('request');
|
||||||
},
|
},
|
||||||
@ -366,11 +368,6 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
async editAfterAction() {
|
|
||||||
pgIndex.value = 0;
|
|
||||||
options.value = await getOptions();
|
|
||||||
},
|
|
||||||
|
|
||||||
async remoteMethod(q: string) {
|
async remoteMethod(q: string) {
|
||||||
if (!localOptions.value.length) {
|
if (!localOptions.value.length) {
|
||||||
query.value = q;
|
query.value = q;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user