doway-coms 1.6.69 → 1.6.71

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.6.69",
3
+ "version": "1.6.71",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -2439,6 +2439,10 @@ export default {
2439
2439
  } else if (column.params.controlType === controlType.select) {
2440
2440
  // 下拉
2441
2441
  data.push(item)
2442
+ } else if (column.params.controlType === controlType.checkbox) {
2443
+ // 单选
2444
+ cellValue = cellValue?'是':'否'
2445
+ data.push(item?'是':'否')
2442
2446
  } else {
2443
2447
  // 其余字符串
2444
2448
  let tempData = item.value.find(x => x !== null)
@@ -374,10 +374,11 @@ export default {
374
374
  },
375
375
  getUserInfo() {
376
376
  userInfoSearchApi().then(res => {
377
+ this.userList = [];
377
378
  res.content.forEach(item => {
378
379
  this.userList.push({
379
380
  value: item.id,
380
- label: item.name,
381
+ label: item.name
381
382
  });
382
383
  });
383
384
  });