diff --git a/src/components/XyTable/index.vue b/src/components/XyTable/index.vue index 66208cb..2c91e6b 100644 --- a/src/components/XyTable/index.vue +++ b/src/components/XyTable/index.vue @@ -177,7 +177,7 @@ export default { prop={item.prop} scopedSlots={{ default( scope ){ - return item.customFn(scope.row) + return item.customFn(scope.row,scope) } }}> @@ -201,7 +201,7 @@ export default { sortable={item1.sortable ?? true} scopedSlots={{ default( scope ){ - return item1.customFn(scope.row) + return item1.customFn(scope.row,scope) } }}> diff --git a/src/views/contract/contractList.vue b/src/views/contract/contractList.vue index af9d1d0..4aba07f 100644 --- a/src/views/contract/contractList.vue +++ b/src/views/contract/contractList.vue @@ -158,12 +158,6 @@