From 66f3788ba68beff062d660327f50bd18ef6c6b25 Mon Sep 17 00:00:00 2001
From: whycq <123456>
Date: 星期四, 21 四月 2022 10:37:54 +0800
Subject: [PATCH] #

---
 pages/basics/offline.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pages/basics/offline.vue b/pages/basics/offline.vue
index 23c8002..d350d16 100644
--- a/pages/basics/offline.vue
+++ b/pages/basics/offline.vue
@@ -19,7 +19,7 @@
 					<text class="title">鐗╂枡鏉$爜</text>
 				</view>
 				<view class="box-buttom">
-					<input v-model="matNo" type="text" placeholder="鎵爜 / 杈撳叆" @input="findMat()">
+					<input v-model="matNo" type="text" placeholder="鎵爜 / 杈撳叆" @input="findMat()" focus="true">
 					<view class="search-icon">
 						<uni-icons type="closeempty" size="20" color="#a5a5a5" @click="removeMat()"></uni-icons>
 					</view>
@@ -232,6 +232,7 @@
 						let res = result.data
 						if (res.code === 200) {
 							if(res.data) {
+								that.matNo = '',
 								that.mat = res.data
 								that.addMatList(that.mat)
 								that.initAnfme()

--
Gitblit v1.9.1