sone-ui-component-3.2.4 2.1.15 → 2.1.16

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": "sone-ui-component-3.2.4",
3
- "version": "2.1.15",
3
+ "version": "2.1.16",
4
4
  "private": false,
5
5
  "main": "lib/sone-ui.common.js",
6
6
  "files": [
@@ -11,7 +11,7 @@
11
11
  ref="sone-form"
12
12
  class="sone-form-box"
13
13
  :style="{
14
- height: showCollapse && !isBottomCollapse ? 52 * rowHideCount + 4 + 'px' : 'auto',
14
+ height: showCollapse && !isBottomCollapse ? rowHeight * rowHideCount + 4 + 'px' : 'auto',
15
15
  'overflow-y': showCollapse && isBottomCollapse ? 'auto' : 'hidden'
16
16
  }"
17
17
  label-position="top"
@@ -243,7 +243,7 @@ export default {
243
243
  },
244
244
  rowHeight:{ //行高
245
245
  type: Number,
246
- default: 45
246
+ default: 59
247
247
  },
248
248
  colNum:{ //定义栅格系统的列数
249
249
  type: Number,
@@ -300,7 +300,7 @@ export default {
300
300
  rowHideCount: { //隐藏行数
301
301
  type: Number,
302
302
  default: 3,
303
- }
303
+ },
304
304
  },
305
305
  data() {
306
306
  return {
@@ -458,6 +458,7 @@ export default {
458
458
  * @description 展开折叠事件
459
459
  **/
460
460
  toggle(){
461
+ this.$refs['sone-form'].$el.scrollTop = 0;
461
462
  this.isBottomCollapse = !this.isBottomCollapse;
462
463
  this.$emit('toggle', this.isBottomCollapse);
463
464
  }
@@ -4,7 +4,7 @@
4
4
  * @Date:2021-09-10 11:03
5
5
  -->
6
6
  <template>
7
- <div class="sone_table_box">
7
+ <div class="sone_table_box" >
8
8
  <div
9
9
  class="table-menu-left"
10
10
  v-if="showMenuLeft"
package/src/index.js CHANGED
@@ -55,7 +55,7 @@ if (typeof window !== 'undefined' && window.Vue) {
55
55
  }
56
56
 
57
57
  export default {
58
- version: '2.1.15',
58
+ version: '2.1.16',
59
59
  locale: locale.use,
60
60
  i18n: locale.i18n,
61
61
  install,