Commit 1a4f1d560fafd8d68daccc14067fdbe5bbe27833

Authored by vking
1 parent e33f0990

taocan

Showing 1 changed file with 2 additions and 2 deletions
... ... @@ -28,9 +28,9 @@ Page({
r.sid=this.data.sid
packs[r.id]=r
})
do{
while(Object.keys(packs).length<3){
packs[Math.random()]={}
}while(Object.keys(packs).length<3)
}
if(!packs[this.activityId]){
util.toast('套餐已下架','none')
this.activityId=res.data[0].id
... ...