w-ui-v1 1.1.7 → 1.1.8

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": "w-ui-v1",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "w-ui",
5
5
  "author": "wgxshh",
6
6
  "license": "ISC",
package/w-card/w-card.vue CHANGED
@@ -250,9 +250,9 @@ const getTitleValue = (value: any, title: string) => {
250
250
  }
251
251
 
252
252
  //判断编辑按钮是否显示
253
- function isShowEditButton(){
253
+ function isShowEditButton(visibleItems:any){
254
254
  if(props.editButtonConfig.show){
255
- return props.editButtonConfig.show()
255
+ return props.editButtonConfig.show(visibleItems)
256
256
  }else{
257
257
  return props.page.buttons.includes('dtmplEdit')
258
258
  }