fix:token重复声明冲突,改为fingerprint变量
This commit is contained in:
parent
3c0caed110
commit
2a4078b579
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user