fix: database filter option can not display

This commit is contained in:
Lykin 2024-06-19 10:36:57 +08:00
parent 65cfdd1bcc
commit aa8c5495c1
2 changed files with 2 additions and 2 deletions

View File

@ -507,7 +507,7 @@ const pasteFromClipboard = async () => {
</n-radio-group>
</n-form-item-gi>
<n-form-item-gi
v-show="generalForm.dbFilterType !== 'none'"
v-if="generalForm.dbFilterType !== 'none'"
:label="$t('dialogue.connection.advn.dbfilter_input')"
:span="24">
<n-select

View File

@ -437,7 +437,7 @@ const findSiblingsAndIndex = (node, nodes) => {
}
// delay save until drop stopped after 2 seconds
const saveSort = debounce(connectionStore.saveConnectionSorted, 2000, { trailing: true })
const saveSort = debounce(connectionStore.saveConnectionSorted, 1500, { trailing: true })
const handleDrop = ({ node, dragNode, dropPosition }) => {
const [dragNodeSiblings, dragNodeIndex] = findSiblingsAndIndex(dragNode, connectionStore.connections)
if (dragNodeSiblings === null || dragNodeIndex === null) {