Explorar o código

fix: reload默认参数问题

lvkun996 %!s(int64=2) %!d(string=hai) anos
pai
achega
5d43f55801
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/pages/Iot/thirdDevice/index.vue

+ 1 - 1
src/pages/Iot/thirdDevice/index.vue

@@ -331,7 +331,7 @@ const delDevice = async (deviceCode: string) => {
 }
 
 const search = () => {
-  tableProDom.value.reload()
+  tableProDom.value.reload({ page: 1 })
 }
 
 const deviceData = ref()