feat:ISBN提交成功后自动打开扫码
This commit is contained in:
parent
22d23797c5
commit
fb2f6310f2
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user