fix(用例管理): 用例详情关联用例搜索不生效问题

--bug=1039876 --user=王旭 【用例管理】用例详情-用例-搜索框搜索-未支持通过名称搜索 https://www.tapd.cn/55049933/s/1505212
This commit is contained in:
WangXu10 2024-04-22 17:06:29 +08:00 committed by Craftsman
parent 6e152848de
commit db79a9bfb6
1 changed files with 4 additions and 4 deletions

View File

@ -73,6 +73,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { ref } from 'vue'; import { ref } from 'vue';
import { debounce } from 'lodash-es';
import MsButton from '@/components/pure/ms-button/index.vue'; import MsButton from '@/components/pure/ms-button/index.vue';
import MsBaseTable from '@/components/pure/ms-table/base-table.vue'; import MsBaseTable from '@/components/pure/ms-table/base-table.vue';
@ -268,10 +269,9 @@
} }
} }
async function searchCase() { const searchCase = debounce(() => {
setKeyword(keyword.value); getFetch();
await loadList(); }, 100);
}
onMounted(async () => { onMounted(async () => {
getFetch(); getFetch();