From 2a4078b5794ef9136f5510286c655f37df500f6d Mon Sep 17 00:00:00 2001 From: ShenQiLun <97694732@qq.com> Date: Mon, 29 Jun 2026 11:33:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:token=E9=87=8D=E5=A4=8D=E5=A3=B0=E6=98=8E?= =?UTF-8?q?=E5=86=B2=E7=AA=81,=E6=94=B9=E4=B8=BAfingerprint=E5=8F=98?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/upload/upload.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/upload/upload.vue b/pages/upload/upload.vue index c590675..3cbfcc0 100644 --- a/pages/upload/upload.vue +++ b/pages/upload/upload.vue @@ -2265,8 +2265,8 @@ export default { this.pendingProductList.push(entry) this.pendingCount = this.pendingProductList.length uni.setStorageSync('pendingProductList', this.pendingProductList) - var token = uni.getStorageSync('token') || '' - uni.setStorageSync('pendingTokenFingerprint', token.substring(token.length - 20)) + var fingerprint = token.substring(token.length - 20) + uni.setStorageSync('pendingTokenFingerprint', fingerprint) // 创建/追加波次 await this.appendWaveItem(warehouseData, productId, this.stock ?? '1', salePrice) if (this.pendingCount >= 200) { @@ -2430,8 +2430,8 @@ export default { this.pendingProductList.push(entry) this.pendingCount = this.pendingProductList.length uni.setStorageSync('pendingProductList', this.pendingProductList) - var token = uni.getStorageSync('token') || '' - uni.setStorageSync('pendingTokenFingerprint', token.substring(token.length - 20)) + var fingerprint = token.substring(token.length - 20) + uni.setStorageSync('pendingTokenFingerprint', fingerprint) // 创建/追加波次 await this.appendWaveItem(this.noIsbnWarehouseData, productId, this.noIsbnStock ?? '1', salePrice) if (this.pendingCount >= 200) {