sone-ui-component-3.2.4 2.1.57 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sone-ui-component-3.2.4",
3
- "version": "2.1.57",
3
+ "version": "2.1.58",
4
4
  "private": false,
5
5
  "main": "lib/sone-ui.common.js",
6
6
  "files": [
@@ -2,8 +2,8 @@
2
2
  * @Description: 下拉选择
3
3
  * @Author: songlin
4
4
  * @Date: 2021-08-26 16:40:04
5
- * @LastEditTime: 2023-05-12 18:07:59
6
- * @LastEditors: renhai🤣🤣
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() {
package/src/index.js CHANGED
@@ -57,7 +57,7 @@ if (typeof window !== 'undefined' && window.Vue) {
57
57
  }
58
58
 
59
59
  export default {
60
- version: '2.1.57',
60
+ version: '2.1.58',
61
61
  locale: locale.use,
62
62
  i18n: locale.i18n,
63
63
  install,