diff --git a/src/components/DataTable/DataTable.vue b/src/components/DataTable/DataTable.vue index d32d7ec..b2aebf3 100644 --- a/src/components/DataTable/DataTable.vue +++ b/src/components/DataTable/DataTable.vue @@ -113,7 +113,7 @@ function onLimitChange(l: number) { emit('limit-change', l) } textTransform: 'uppercase', letterSpacing: '0.04em', whiteSpace: 'nowrap', - textAlign: 'left', + textAlign: 'center', lineHeight: '20px' }" :cell-style="{ diff --git a/src/modules/other/categoryGood/CategoryGoodListView.vue b/src/modules/other/categoryGood/CategoryGoodListView.vue index b80de61..d7a5352 100644 --- a/src/modules/other/categoryGood/CategoryGoodListView.vue +++ b/src/modules/other/categoryGood/CategoryGoodListView.vue @@ -167,6 +167,7 @@ onMounted(load) borderless empty-text="暂无分类" class="cat-table" + :header-cell-style="{ textAlign: 'center' }" @selection-change="onSelectionChange" > diff --git a/src/modules/supplier/coupon/CouponListView.vue b/src/modules/supplier/coupon/CouponListView.vue index 53c592d..5c2199d 100644 --- a/src/modules/supplier/coupon/CouponListView.vue +++ b/src/modules/supplier/coupon/CouponListView.vue @@ -139,7 +139,7 @@ onMounted(load) />
- + diff --git a/src/modules/sys/region/RegionListView.vue b/src/modules/sys/region/RegionListView.vue index 36fba5d..6f448e7 100644 --- a/src/modules/sys/region/RegionListView.vue +++ b/src/modules/sys/region/RegionListView.vue @@ -127,6 +127,7 @@ onMounted(load) borderless empty-text="暂无行政区划" class="region-table" + :header-cell-style="{ textAlign: 'center' }" >