From f1b3a5d1e7824d44a280b65d82a81231ae699942 Mon Sep 17 00:00:00 2001
From: 张诺 <2864490065@qq.com>
Date: 星期二, 19 八月 2025 15:16:50 +0800
Subject: [PATCH] 禁用login 获取验证码功能 使页面不需要验证码即可登录

---
 src/components/Table/EtableModify.vue |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/src/components/Table/EtableModify.vue b/src/components/Table/EtableModify.vue
index b42e487..5c6d032 100644
--- a/src/components/Table/EtableModify.vue
+++ b/src/components/Table/EtableModify.vue
@@ -28,11 +28,9 @@
       type="index"
       width="60"
       align="center"
-    />    <template v-for="col in columns" :key="col.prop">
-      <el-table-column
-        v-bind="col"
-        align="center"
-      >
+    />
+    <template v-for="col in columns" :key="col.prop">
+      <el-table-column v-bind="col" align="center">
         <template #default="scope">
           <template v-if="col.slot">
             <slot
@@ -41,7 +39,8 @@
               :column="scope.column"
               :index="scope.$index"
             ></slot>
-          </template>          <template v-else>
+          </template>
+          <template v-else>
             <div
               class="cell-edit"
               @dblclick="handleCellEdit(scope.row, col.prop)"
@@ -53,7 +52,12 @@
                 class="cell-text"
               >
                 {{
-                  formatCellValue(scope.row, scope.column, scope.row[col.prop], col)
+                  formatCellValue(
+                    scope.row,
+                    scope.column,
+                    scope.row[col.prop],
+                    col
+                  )
                 }}
               </span>
               <!-- 缂栬緫鐘舵�侊細浣跨敤鍘熷鍊硷紝涓嶇粡杩囨牸寮忓寲 -->
@@ -201,7 +205,7 @@
 // 鏍煎紡鍖栧崟鍏冩牸鍊�
 const formatCellValue = (row, column, cellValue, col) => {
   // 濡傛灉鍒楁湁鑷畾涔夋牸寮忓寲鍣紝浣跨敤鑷畾涔夋牸寮忓寲鍣�
-  if (col.formatter && typeof col.formatter === 'function') {
+  if (col.formatter && typeof col.formatter === "function") {
     return col.formatter(row, column, cellValue);
   }
   // 鍚﹀垯浣跨敤榛樿鏍煎紡鍖栧櫒

--
Gitblit v1.9.3