sone-ui-component-3.2.4 2.1.56 → 2.1.58
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/lib/sone-ui.common.js +27 -14
- package/lib/sone-ui.common.js.map +1 -1
- package/lib/sone-ui.umd.js +27 -14
- package/lib/sone-ui.umd.js.map +1 -1
- package/lib/sone-ui.umd.min.js +2 -2
- package/lib/sone-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/packages/form/src/mainNoDrag.vue +10 -2
- package/packages/select/src/main.vue +8 -3
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
height: showCollapse && !isBottomCollapse ? rowHeight * rowHideCount + 4 + 'px' : 'auto',
|
|
15
15
|
'overflow-y': showCollapse && isBottomCollapse ? 'auto' : 'hidden'
|
|
16
16
|
}"
|
|
17
|
-
label-position="
|
|
18
|
-
label-width="
|
|
17
|
+
:label-position="labelPosition"
|
|
18
|
+
:label-width="labelWidth"
|
|
19
19
|
:show-message="false"
|
|
20
20
|
:model="form"
|
|
21
21
|
:disabled="disabled"
|
|
@@ -299,6 +299,14 @@ export default {
|
|
|
299
299
|
type: Number,
|
|
300
300
|
default: 3,
|
|
301
301
|
},
|
|
302
|
+
labelPosition: {
|
|
303
|
+
type: String,
|
|
304
|
+
default: 'top'
|
|
305
|
+
},
|
|
306
|
+
labelWidth: {
|
|
307
|
+
type: String,
|
|
308
|
+
default: '80px'
|
|
309
|
+
}
|
|
302
310
|
},
|
|
303
311
|
data() {
|
|
304
312
|
return {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @Description: 下拉选择
|
|
3
3
|
* @Author: songlin
|
|
4
4
|
* @Date: 2021-08-26 16:40:04
|
|
5
|
-
* @LastEditTime:
|
|
6
|
-
* @LastEditors:
|
|
5
|
+
* @LastEditTime: 2025-05-06 15:06:50
|
|
6
|
+
* @LastEditors: lw
|
|
7
7
|
-->
|
|
8
8
|
<template>
|
|
9
9
|
<el-select
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
:data="internalOptions"
|
|
45
45
|
:props="props"
|
|
46
46
|
:node-key="props.value"
|
|
47
|
-
default-expand-all
|
|
47
|
+
:default-expand-all="defaultExpandAll"
|
|
48
48
|
:default-checked-keys="checkedNodes"
|
|
49
49
|
:show-checkbox="multiple"
|
|
50
50
|
:check-strictly="checkStrictly"
|
|
@@ -146,6 +146,11 @@ export default {
|
|
|
146
146
|
filterMethod: {
|
|
147
147
|
type: Function,
|
|
148
148
|
default: null
|
|
149
|
+
},
|
|
150
|
+
defaultExpandAll:{
|
|
151
|
+
/* 是否默认展开全部- */
|
|
152
|
+
type: Boolean,
|
|
153
|
+
default: true
|
|
149
154
|
}
|
|
150
155
|
},
|
|
151
156
|
data() {
|