Просмотр исходного кода

refactor(lss): streamline component formatting for improved readability

- Consolidated attributes in various components, including el-input and el-drawer, to enhance code clarity and maintainability.
- Reduced unnecessary line breaks and improved overall formatting in the LSS view for a cleaner and more organized layout.
- Updated search form reset functionality to clear specific fields for better user experience.
yb 1 неделя назад
Родитель
Сommit
a3e5ae1e38
1 измененных файлов с 2 добавлено и 4 удалено
  1. 2 4
      src/views/lss/index.vue

+ 2 - 4
src/views/lss/index.vue

@@ -901,12 +901,10 @@ function handleSearch() {
 }
 
 function handleReset() {
-  searchForm.keyword = ''
+  searchForm.lssId = ''
+  searchForm.lssName = ''
   searchForm.status = ''
-  searchForm.enabled = null
   currentPage.value = 1
-  sortState.sortBy = ''
-  sortState.sortDir = undefined
   getList()
 }