From 1c1dc56be93441e39da19d8de2e65ebb7f6704c2 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期一, 09 十二月 2024 23:06:54 +0800
Subject: [PATCH] ll

---
 h5/pages/operation/record.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/h5/pages/operation/record.vue b/h5/pages/operation/record.vue
index 14fc07e..94122b2 100644
--- a/h5/pages/operation/record.vue
+++ b/h5/pages/operation/record.vue
@@ -3,7 +3,7 @@
 		<view class="head_wrap">
 			<view class="search_wrap">
 				<image class="mr12 search" src="@/static/home/ic_search@2x.png" mode="widthFix"></image>
-				<input v-model="param.deviceName" @confirm="getList()" type="text" placeholder="鎼滅储璁惧鍚嶇О/缂栧彿"
+				<input v-model="param.deviceName" @confirm="queryList" type="text" placeholder="鎼滅储璁惧鍚嶇О/缂栧彿"
 					placeholder-class="placeholder9" />
 			</view>
 			<view class="name_wrap" @click="handleMem">
@@ -75,7 +75,12 @@
 			})
 			
 		},
-		methods: {
+		methods: {
+			queryList() {
+				this.page = 1
+				this.list = []
+				this.getList()
+			},
 			getList() {
 				const {
 					page,
@@ -118,7 +123,7 @@
 
 <style lang="scss" scoped>
 	.main_app {
-		padding: 0 30rpx;
+		padding: 30rpx;
 	}
 
 	.head_wrap {

--
Gitblit v1.9.3