调试申请开票的时候开票信息不存在的情况
This commit is contained in:
@@ -24,7 +24,13 @@ Page({
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
const { tab } = options;
|
||||
if (isNaN(Number(tab))) {
|
||||
return
|
||||
}
|
||||
this.setData({
|
||||
active: Number(tab)
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user