From f678026909469d00ffda9f822b991a3b368809d8 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期一, 30 六月 2025 14:06:18 +0800
Subject: [PATCH] Changes
---
pages/pakin/pakin.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/pages/pakin/pakin.vue b/pages/pakin/pakin.vue
index 1e1d3d6..2eb054b 100644
--- a/pages/pakin/pakin.vue
+++ b/pages/pakin/pakin.vue
@@ -2,7 +2,7 @@
<view>
<view class="code">
<view class="item">
- <view class="code-decs">鎵樼洏鐮�:</view>
+ <view class="code-decs">绔欑偣鐮�:</view>
<input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="barcode" :focus="barcodeFocus"
@input="barcodeInput()">
</view>
@@ -172,10 +172,11 @@
},
// barcode input 浜嬩欢
barcodeInput() {
+ this.barcode = this.barcode.replace(/^\{|\}$/g, '')
// 涓嶈缃畾鏃跺櫒 浼氬嚭鐜版壂鍏ョ殑瀛楃涓蹭笉鍏�
setTimeout(() => {
var len = this.barcode.length
- if (len != 8) {
+ if (len != 3) {
uni.showToast({
title: '鎵樼洏鐮佹湁璇閲嶈瘯',
icon: "none",
--
Gitblit v1.9.1