From 8959959e59f5a95ca7e61aa60decba4364f36339 Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期三, 04 六月 2025 17:57:30 +0800
Subject: [PATCH] 供应商省市区接口对接

---
 src/components/Table/ETable.vue |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/components/Table/ETable.vue b/src/components/Table/ETable.vue
index 7a5b922..b6bc89e 100644
--- a/src/components/Table/ETable.vue
+++ b/src/components/Table/ETable.vue
@@ -2,7 +2,6 @@
     <el-table
       v-loading="loading"
       :data="tableData"
-      style="width: 100%"
       :border="border"
       :show-selection="showSelection"
       :max-height="maxHeight"
@@ -21,6 +20,7 @@
           v-bind="col"
           :show-overflow-tooltip="shouldShowTooltip(col, tableData)"
           :formatter="(row, column, cellValue) => cellValue == null || cellValue === '' ? '--' : cellValue"
+          align="center"
         >
           <template v-if="col.slot" #default>
             <slot></slot>
@@ -172,9 +172,8 @@
   </script>
   
   <style scoped>
-  :deep(.el-table) {
-    margin-bottom: 20px;
-    overflow-x: auto;
+  .el-table {
+    margin: 20px 0 !important;
   }
   
   :deep(.el-table th) {

--
Gitblit v1.9.3