Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: naiveui warning (#13688)

ecmadao0a0a5eeaede7
diff --git a/frontend/src/components/SensitiveData/SensitiveColumnDrawer.vue b/frontend/src/components/SensitiveData/SensitiveColumnDrawer.vue
index 189f76c1ab..e1c6d05e52 100644
--- a/frontend/src/components/SensitiveData/SensitiveColumnDrawer.vue
+++ b/frontend/src/components/SensitiveData/SensitiveColumnDrawer.vue
@@ -40,7 +40,7 @@
}}
</span>
<NSelect
- v-model:value="state.fullMaskingAlgorithmId"
+ :value="state.fullMaskingAlgorithmId"
:options="algorithmList"
:consistent-menu-width="false"
:placeholder="columnDefaultMaskingAlgorithm"
@@ -53,7 +53,12 @@
clearable
size="small"
style="min-width: 7rem; max-width: 20rem; overflow-x: hidden"
- @change="onMaskingAlgorithmChanged"
+ @update:value="
+ (val) => {
+ state.partialMaskingAlgorithmId = val;
+ onMaskingAlgorithmChanged();
+ }
+ "
/>
</div>
<div
@@ -74,7 +79,7 @@
}}
</span>
<NSelect
- v-model:value="state.partialMaskingAlgorithmId"
+ :value="state.partialMaskingAlgorithmId"
:options="algorithmList"
:consistent-menu-width="false"
:placeholder="columnDefaultMaskingAlgorithm"
@@ -87,7 +92,12 @@
clearable
size="small"
style="min-width: 7rem; max-width: 20rem; overflow-x: hidden"
- @change="onMaskingAlgorithmChanged"
+ @update:value="
+ (val) => {
+ state.partialMaskingAlgorithmId = val;
+ onMaskingAlgorithmChanged();
+ }
+ "
/>
</div>
</div>