agilebuilder-ui 1.0.40-beta2 → 1.0.41-beta1

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": "agilebuilder-ui",
3
- "version": "1.0.40-beta2",
3
+ "version": "1.0.41beta1",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
@@ -661,8 +661,8 @@ export default {
661
661
  }
662
662
  } else if (this.column.componentType === 'switch') {
663
663
  const valueSetOptionsObj = JSON.parse(this.column.valueSetOptions)
664
- if (valueSetOptionsObj && valueSetOptionsObj.valueSetOptions) {
665
- this.valueSetOptions = valueSetOptionsObj.valueSetOptions
664
+ if (valueSetOptionsObj) {
665
+ this.valueSetOptions = valueSetOptionsObj
666
666
  }
667
667
  }
668
668
  if (this.column.orgTreeSet) {
@@ -1432,7 +1432,7 @@ export default {
1432
1432
  return numberValue
1433
1433
  }
1434
1434
  }
1435
- return e
1435
+ return val
1436
1436
  },
1437
1437
  refresData(data) {
1438
1438
  $emit(this, 'refresData', data)
@@ -1507,7 +1507,6 @@ export default {
1507
1507
  return value === undefined || value === null || value === ''
1508
1508
  },
1509
1509
  getSwitchConfig(switchProp) {
1510
- debugger
1511
1510
  if (this.valueSetOptions && this.valueSetOptions[switchProp]) {
1512
1511
  return this.valueSetOptions[switchProp]
1513
1512
  } else {