mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-06 17:59:11 +00:00
fix autocomplete not show dropdown (#477)
This commit is contained in:
@@ -95,7 +95,7 @@ function searchInetSuggestions(e: { query: string }) {
|
|||||||
|
|
||||||
const listenerSuggestions = ref([''])
|
const listenerSuggestions = ref([''])
|
||||||
|
|
||||||
function searchListenerSuggestiong(e: { query: string }) {
|
function searchListenerSuggestions(e: { query: string }) {
|
||||||
const ret = []
|
const ret = []
|
||||||
|
|
||||||
for (const proto in protos) {
|
for (const proto in protos) {
|
||||||
@@ -242,7 +242,7 @@ function searchListenerSuggestiong(e: { query: string }) {
|
|||||||
<AutoComplete id="listener_urls" v-model="curNetwork.listener_urls" :suggestions="listenerSuggestions"
|
<AutoComplete id="listener_urls" v-model="curNetwork.listener_urls" :suggestions="listenerSuggestions"
|
||||||
class="w-full" dropdown :complete-on-focus="true"
|
class="w-full" dropdown :complete-on-focus="true"
|
||||||
:placeholder="t('chips_placeholder', ['tcp://1.1.1.1:11010'])" multiple
|
:placeholder="t('chips_placeholder', ['tcp://1.1.1.1:11010'])" multiple
|
||||||
@complete="searchListenerSuggestiong" />
|
@complete="searchListenerSuggestions" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -32,6 +32,12 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
zIndex: {
|
||||||
|
modal: 1100, //dialog, drawer
|
||||||
|
overlay: 1200, //select, popover
|
||||||
|
menu: 1300, //overlay menus
|
||||||
|
tooltip: 1400 //tooltip
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
app.component('Config', Config);
|
app.component('Config', Config);
|
||||||
|
|||||||
Reference in New Issue
Block a user