Browse Source

处理输入框数据

lifanagju_citu 9 tháng trước cách đây
mục cha
commit
7945b873cc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/components/FormUI/TextInput/index.vue

+ 1 - 1
src/components/FormUI/TextInput/index.vue

@@ -47,7 +47,7 @@ const searchDebouncedTime = item?.searchDebouncedTime === 0 ? ref(0) : ref(500)
 if (item.type === 'number' && item.integer) searchDebouncedTime.value = 0
 
 const valueDeal = (val) => {
-  let dealData
+  let dealData = val
   if (item.type === 'number') {
     // if (item.max && val > item.max) {
     //   dealData = (item.max - 0)