vue2-client 1.4.60 → 1.4.61

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/CHANGELOG.md CHANGED
@@ -1,8 +1,10 @@
1
1
  # Change Log
2
2
  > 所有关于本项目的变化都在该文档里。
3
3
 
4
- **1.4.60 -2022-11-29 @苗艳强**
4
+ **1.4.60 - 1.4.61 -2022-11-29 @苗艳强**
5
5
  - 新增树形选择框
6
+ - 修复查询方式默认选择问题
7
+ - 修复固定集合编辑错误问题
6
8
 
7
9
  **1.4.58 - 1.4.59 -2022-11-29 @江超**
8
10
  - 修复一些小问题
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.4.60",
3
+ "version": "1.4.61",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -358,7 +358,7 @@ export default {
358
358
  columnItem.lazyLoad = 'false'
359
359
  }
360
360
  // 下拉框数据源兼容处理
361
- if ((columnItem.formType === 'select' || columnItem.formType === 'cascader') && columnItem.selectKey) {
361
+ if ((columnItem.formType === 'select' || columnItem.formType === 'cascader' || columnItem.formType === 'treeSelect') && columnItem.selectKey) {
362
362
  // 数据源为logic
363
363
  if (columnItem.selectKey.toString().startsWith('logic@')) {
364
364
  columnItem.selectType = 'logic'
@@ -678,8 +678,8 @@ export default {
678
678
  if (['FilesId', 'Images'].includes(this.item.key)) { this.item.key = '' }
679
679
  this.resetDataMode()
680
680
  // 表单查询方式有预选项时
681
- if (this.queryTypeV.length === 1) {
682
- this.item.queryType = this.queryTypeV[0].value
681
+ if (this.queryTypeV.length) {
682
+ this.item.queryType = this.queryTypeV[0].key
683
683
  }
684
684
  }
685
685
  },