leisure-core 0.5.74 → 0.5.75

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.
@@ -57,15 +57,23 @@
57
57
  </template>
58
58
  <template v-else>
59
59
  <div class="rowBtns">
60
- <le-button @click="editItem(scope.row)" v-if="disBtn === 'edit'">
61
- {{ editBtnText }}</le-button
62
- >
63
- <le-button @click="detail(scope.row)" v-if="disBtn === 'detail'">
64
- 详情</le-button
65
- >
66
- <le-button-msg @click="del(scope.row.id)" v-if="isDispDelBtn"
67
- >删除</le-button-msg
68
- >
60
+ <slot name="rowBtnStand" :scope="scope">
61
+ <le-button
62
+ @click="editItem(scope.row)"
63
+ v-if="disBtn === 'edit'"
64
+ >
65
+ {{ editBtnText }}</le-button
66
+ >
67
+ <le-button
68
+ @click="detail(scope.row)"
69
+ v-if="disBtn === 'detail'"
70
+ >
71
+ 详情</le-button
72
+ >
73
+ <le-button-msg @click="del(scope.row.id)" v-if="isDispDelBtn"
74
+ >删除</le-button-msg
75
+ >
76
+ </slot>
69
77
  <div class="rowBtnsExt">
70
78
  <slot name="rowBtns" :scope="scope"></slot>
71
79
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leisure-core",
3
- "version": "0.5.74",
3
+ "version": "0.5.75",
4
4
  "description": "leisure-core是京心数据基于vue2.x开发的一套后台管理系统桌面端组件库,封装了大量实用的UI控件模板,非常方便开发者快速搭建前端应用",
5
5
  "private": false,
6
6
  "author": "北方乐逍遥(zcx7878)",