doway-coms 1.1.88 → 1.1.89

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,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "1.1.88",
3
+ "version": "1.1.89",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -483,9 +483,9 @@ export function custUnitPriceNotTaxAmount(rowInfo, taxRate, colInfo) {
483
483
  export function setIndustryVersionFields(fields){
484
484
  let length = fields.length
485
485
  for(let i=length-1;i>=0;i--){
486
- if(XEUtils.isArray(fields[i].versions) && XEUtils.indexOf(fields[i].versions,store.getters.industryVersion)>-1){
487
- continue
486
+ if(XEUtils.isArray(fields[i].versions) && XEUtils.indexOf(fields[i].versions,store.getters.industryVersion)<0){
487
+ XEUtils.remove(fields,i)
488
488
  }
489
- XEUtils.remove(fields,i)
489
+
490
490
  }
491
491
  }