fix: database filter option can not display
This commit is contained in:
parent
65cfdd1bcc
commit
aa8c5495c1
|
@ -507,7 +507,7 @@ const pasteFromClipboard = async () => {
|
||||||
</n-radio-group>
|
</n-radio-group>
|
||||||
</n-form-item-gi>
|
</n-form-item-gi>
|
||||||
<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')"
|
:label="$t('dialogue.connection.advn.dbfilter_input')"
|
||||||
:span="24">
|
:span="24">
|
||||||
<n-select
|
<n-select
|
||||||
|
|
|
@ -437,7 +437,7 @@ const findSiblingsAndIndex = (node, nodes) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
// delay save until drop stopped after 2 seconds
|
// 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 handleDrop = ({ node, dragNode, dropPosition }) => {
|
||||||
const [dragNodeSiblings, dragNodeIndex] = findSiblingsAndIndex(dragNode, connectionStore.connections)
|
const [dragNodeSiblings, dragNodeIndex] = findSiblingsAndIndex(dragNode, connectionStore.connections)
|
||||||
if (dragNodeSiblings === null || dragNodeIndex === null) {
|
if (dragNodeSiblings === null || dragNodeIndex === null) {
|
||||||
|
|
Loading…
Reference in New Issue