w-ui-v1 1.1.9 → 1.1.10

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