Skip to content

Commit

Permalink
fix: 快速录入 (#1991)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoJohw authored Nov 28, 2024
1 parent f6db0c4 commit 831635e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

<script setup lang="tsx">
import { bkTooltips as vBkTooltips } from 'bkui-vue';
import { computed, ref, watch } from 'vue';
import { computed, nextTick, ref, watch } from 'vue';
import { useValidate } from '@/hooks';
import { batchCreatePreview, getFieldsTips, operationsCreate } from '@/http/organizationFiles';
Expand Down Expand Up @@ -124,7 +124,9 @@ watch(() => props.isShow, async (val) => {
if (val) {
currentId.value = 1;
formData.value.val = '';
formRef.value?.clearValidate();
nextTick(() => {
formRef.value?.clearValidate();
});
const res = await getFieldsTips();
tipsInfo.value = (res.data || []);
tableData.value = [];
Expand Down

0 comments on commit 831635e

Please sign in to comment.