Update cellTask.js

This commit is contained in:
guoqing.zhu 2022-06-04 02:00:52 +08:00
parent 2162df8885
commit 393f77768b

View File

@ -65,6 +65,7 @@ cc.Class({
this.mid = v.mission_id
this.lb_jd.string = v.current + "/" + v.target
var cfg = gameConfig.task[this.mid]
if(cfg){
this.lb_des.string = cfg.des
this.nd_lingqu.active = this.nd_finish.active = this.nd_doing.active = false
if (state == 0) {
@ -83,6 +84,7 @@ cc.Class({
Utils.setitem(this, items[1].id, this.sp_icon, this.sp_pz)
this.jump = cfg.jump_value
}
},