|
|
@ -686,13 +686,11 @@ onMounted(async () => { |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
watch(isColOptionDropdownOpen, () => { |
|
|
|
const onFieldOptionUpdate = () => { |
|
|
|
if (isColOptionDropdownOpen.value === true) return |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
|
setTimeout(() => { |
|
|
|
isFieldIdCopied.value = false |
|
|
|
isFieldIdCopied.value = false |
|
|
|
}, 200) |
|
|
|
}, 200) |
|
|
|
}) |
|
|
|
} |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
@ -840,9 +838,9 @@ watch(isColOptionDropdownOpen, () => { |
|
|
|
</NcButton> |
|
|
|
</NcButton> |
|
|
|
<NcDropdown |
|
|
|
<NcDropdown |
|
|
|
v-else |
|
|
|
v-else |
|
|
|
v-model:visible="isColOptionDropdownOpen" |
|
|
|
|
|
|
|
:trigger="['click']" |
|
|
|
:trigger="['click']" |
|
|
|
overlay-class-name="nc-dropdown-table-explorer" |
|
|
|
overlay-class-name="nc-dropdown-table-explorer" |
|
|
|
|
|
|
|
@update:visible="onFieldOptionUpdate" |
|
|
|
@click.stop |
|
|
|
@click.stop |
|
|
|
> |
|
|
|
> |
|
|
|
<NcButton |
|
|
|
<NcButton |
|
|
@ -976,6 +974,7 @@ watch(isColOptionDropdownOpen, () => { |
|
|
|
v-else |
|
|
|
v-else |
|
|
|
:trigger="['click']" |
|
|
|
:trigger="['click']" |
|
|
|
overlay-class-name="nc-dropdown-table-explorer-display-column" |
|
|
|
overlay-class-name="nc-dropdown-table-explorer-display-column" |
|
|
|
|
|
|
|
@update:visible="onFieldOptionUpdate" |
|
|
|
@click.stop |
|
|
|
@click.stop |
|
|
|
> |
|
|
|
> |
|
|
|
<NcButton |
|
|
|
<NcButton |
|
|
|