|
@@ -25,7 +25,7 @@
|
|
|
:columns="props.columns ? propsColumns:columns"
|
|
|
:data-source="data"
|
|
|
:scroll="{x:'max-content'}"
|
|
|
- :pagination="isPromotion ? {showSizeChanger:true,defaultPageSize:props.param.content.pageSize,current:pageNumber,total:total} : null"
|
|
|
+ :pagination="!pagination ? {showSizeChanger:true,defaultPageSize:props.param.content.pageSize,current:pageNumber,total:total} : ''"
|
|
|
@change="onChange"
|
|
|
size="small"
|
|
|
:row-class-name="(_record, index) => (index % 2 === 1 ? 'table-striped' : null)">
|
|
@@ -60,7 +60,7 @@
|
|
|
let { tableRecord,fullscreen } = storeToRefs(base)
|
|
|
const router = useRouter()
|
|
|
const props = defineProps({
|
|
|
- isPromotion:Boolean,
|
|
|
+ pagination:Boolean,
|
|
|
isSelect:Boolean,
|
|
|
columns:Array,
|
|
|
param: Object,
|