@bsgoal/common 2.14.6 → 2.14.7

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": "@bsgoal/common",
3
- "version": "2.14.6",
3
+ "version": "2.14.7",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -2,7 +2,7 @@
2
2
  * @Author: canlong.shen
3
3
  * @Date: 2023-06-20 09:20:44
4
4
  * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-06-27 11:50:21
5
+ * @LastEditTime: 2023-06-27 13:54:17
6
6
  * @FilePath: \common\src\components\bsgoal-base-tree-table\index.vue
7
7
  * @Description: 树结构 + 列表
8
8
  *
@@ -154,6 +154,20 @@ const props = defineProps({
154
154
  pageSize: {
155
155
  type: [Number],
156
156
  default: 20
157
+ },
158
+ /**
159
+ * 节点的 key
160
+ */
161
+ nodeKey: {
162
+ type: [String],
163
+ default: 'key'
164
+ },
165
+ /**
166
+ * 默认展开的节点
167
+ */
168
+ expandedKeys: {
169
+ type: [Array],
170
+ default: () => []
157
171
  }
158
172
  })
159
173