bri-components 1.2.71 → 1.2.72

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": "bri-components",
3
- "version": "1.2.71",
3
+ "version": "1.2.72",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -147,7 +147,7 @@
147
147
  _showWordLimit: this.propsObj._showWordLimit || (!!this.propsObj._maxlength || this.propsObj._maxlength === 0),
148
148
  _autosize: {
149
149
  minRows: 2,
150
- maxRows: 20
150
+ maxRows: this.isUnitUpdate ? 10 : 20
151
151
  },
152
152
 
153
153
  ...this.propsObj,
@@ -12,7 +12,11 @@
12
12
  :class="{
13
13
  'DshCheckbox-flat': true,
14
14
  'DshCheckbox-flat-color': useColor,
15
- 'DshCheckbox-flat-scroll': !isHeightAuto,
15
+ 'DshCheckbox-flat-scroll': isHeightAuto
16
+ ? isUnitUpdate
17
+ ? listData.length > 6
18
+ : false
19
+ : true
16
20
  }"
17
21
  v-model="curValList"
18
22
  >
@@ -12,7 +12,11 @@
12
12
  :class="{
13
13
  'DshSelect-flat': true,
14
14
  'DshSelect-flat-color': useColor,
15
- 'DshSelect-flat-scroll': !isHeightAuto
15
+ 'DshSelect-flat-scroll': isHeightAuto
16
+ ? isUnitUpdate
17
+ ? listData.length > 4
18
+ : false
19
+ : true
16
20
  }"
17
21
  v-model="curVal"
18
22
  :type="radioGroupType"