diff --git a/pages/upload/upload.vue b/pages/upload/upload.vue index 3cfda51..f6a03c6 100644 --- a/pages/upload/upload.vue +++ b/pages/upload/upload.vue @@ -2229,6 +2229,12 @@ export default { this.stock = 1 this.printTime = '' this.productList = [] + + // ISBN提交成功 → 自动打开扫码 + if (this.currentTab === 'isbn') { + var that = this + setTimeout(function() { that.scanISBN() }, 800) + } } catch (e) { uni.hideLoading() console.error('【上传】失败:', e)