duy 1 місяць тому
батько
коміт
e776ef14ba
1 змінених файлів з 4 додано та 0 видалено
  1. 4 0
      src/views/tentative/material/approach.vue

+ 4 - 0
src/views/tentative/material/approach.vue

@@ -394,6 +394,10 @@ const tableItemClick = (row) => {
 const tableLoad = ref(true)
 const tableData = ref([])
 const getTableData = async () => {
+     if (searchForm.value?.queryValue) {
+            searchForm.value.queryValue = searchForm.value.queryValue.trim()
+        }
+
     tableLoad.value = true
     const { error, code, data } = await approachApi.queryPage({
         projectId: projectId.value,