safecheck-client 3.0.30-97 → 3.0.30-99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "safecheck-client",
3
3
  "//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
4
- "version": "3.0.30-97",
4
+ "version": "3.0.30-99",
5
5
  "description": "安检模块 前端组件",
6
6
  "author": "丁新 <417755458@qq.com>",
7
7
  "license": "ISC",
@@ -2016,7 +2016,7 @@
2016
2016
  if (this.item.f_plan_meters[i].f_meter_type) {
2017
2017
  this.data.f_meter_type=this.item.f_plan_meters[i].f_meter_type
2018
2018
  //tag)
2019
- if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('机表') > 0) {
2019
+ if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('机表') >= 0) {
2020
2020
  this.data['device' + this.devices[de].n].push({
2021
2021
  f_device_type: "燃气表",
2022
2022
  f_items: [
@@ -2139,7 +2139,7 @@
2139
2139
  ]
2140
2140
  })
2141
2141
  }
2142
- if(this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('物联网表') > 0){
2142
+ if(this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('物联网表') >= 0){
2143
2143
  //tag
2144
2144
  this.data['device' + this.devices[de].n].forEach(device => {
2145
2145
  //tag)