leisure-core 0.6.70 → 0.6.71

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.
@@ -114,7 +114,7 @@
114
114
  >
115
115
  <slot
116
116
  name="expand"
117
- v-if="showDialog && expand === 1"
117
+ v-if="showDialog && isDispExpand === 1"
118
118
  :rowItem="rowItem"
119
119
  ></slot>
120
120
  <slot name="sub" v-else-if="showDialog" :rowItem="rowItem"></slot>
@@ -226,6 +226,12 @@ export default {
226
226
  },
227
227
  },
228
228
  watch: {
229
+ expand: {
230
+ handler(newVal) {
231
+ this.isDispExpand = newVal;
232
+ },
233
+ immediate: true,
234
+ },
229
235
  searchParam: {
230
236
  handler(val) {
231
237
  this.searchData = Object.assign({}, this.searchData, val);
@@ -276,6 +282,7 @@ export default {
276
282
  return {
277
283
  rowItem: {},
278
284
  rowItems: [],
285
+ isDispExpand: 0, //是否显示扩展插槽 0:不显示 1:显示
279
286
  searchData: {
280
287
  pageNo: 1,
281
288
  total: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leisure-core",
3
- "version": "0.6.70",
3
+ "version": "0.6.71",
4
4
  "description": "leisure-core是京心数据基于vue2.x开发的一套后台管理系统桌面端组件库,封装了大量实用的UI控件模板,非常方便开发者快速搭建前端应用",
5
5
  "private": false,
6
6
  "author": "北方乐逍遥(zcx7878)",