Commit 424902d8 by li_hongchao

Gzlzz优化

parent 3cb9118c
...@@ -120,24 +120,19 @@ class Gzlzz { ...@@ -120,24 +120,19 @@ class Gzlzz {
init(isRy) { init(isRy) {
this.isRy = isRy this.isRy = isRy
this.clear() this.clear()
if (this.isRy) {
this.dlmcArr.push(_DL_TYPES.BJDL) this.dlmcArr.push(_DL_TYPES.BJDL)
this.dlmcArr.push(_DL_TYPES.JCDL)
this.dlmcArr.push(_DL_TYPES.CXDL) this.dlmcArr.push(_DL_TYPES.CXDL)
if (this.isRy) {
this.dlmcArr.push(_DL_TYPES.JCDL)
this.dlmcCxdlArr.push(_CXDL_TYPES.DaoC) this.dlmcCxdlArr.push(_CXDL_TYPES.DaoC)
this.dlmcCxdlArr.push(_CXDL_TYPES.ChaC) this.dlmcCxdlArr.push(_CXDL_TYPES.ChaC)
this.gzdlArr.push(_DL_TYPES.CLDL)
} else { } else {
this.dlmcArr.push(_DL_TYPES.BJDL)
this.dlmcArr.push(_DL_TYPES.CXDL)
this.dlmcCxdlArr.push(_CXDL_TYPES.ZhengC) this.dlmcCxdlArr.push(_CXDL_TYPES.ZhengC)
this.dlmcCxdlArr.push(_CXDL_TYPES.ChuanC) this.dlmcCxdlArr.push(_CXDL_TYPES.ChuanC)
this.gzdlArr.push(_DL_TYPES.CLDL)
} }
this.gzdlArr.push(_DL_TYPES.CLDL)
this._DL_COUNT = this.dlmcArr.length this._DL_COUNT = this.dlmcArr.length
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment