From 4be17fd77a2c3f87ea8e4987b22b7524e530e1c4 Mon Sep 17 00:00:00 2001
From: 584911253@qq.com <584911253@qq.com>
Date: 星期五, 03 三月 2023 15:59:06 +0800
Subject: [PATCH] 时间戳修改

---
 src/components/mapsdk.vue |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/src/components/mapsdk.vue b/src/components/mapsdk.vue
index 42a1afa..f6c03dd 100644
--- a/src/components/mapsdk.vue
+++ b/src/components/mapsdk.vue
@@ -380,7 +380,7 @@
           title="闄勪欢鍒楄〃"
           :append-to-body="false"
           :visible.sync="showAttach"
-          width="30%"
+          width="35%"
           :close-on-click-modal="false"
       >
         <div>
@@ -398,13 +398,14 @@
             />
             <el-table-column
                 prop="name"
-                label="鍚嶇О"
-                width="150">
+                label="鍚嶇О">
             </el-table-column>
             <el-table-column
-                prop="createTime"
                 label="鏃堕棿"
-                width="150">
+                width="180">
+              <template slot-scope="scope">
+                <span>{{format(scope.row.createTime)}}</span>
+              </template>
             </el-table-column>
             <el-table-column
                 label="鎿嶄綔"
@@ -441,7 +442,7 @@
             class="pdfClass"
         >
           <img
-              style="width:100%; height:100%;background: red"
+              style="width:100%; height:100%;"
               :src="dialog.src"
               alt=""
           />
@@ -1236,6 +1237,10 @@
           s
       );
     },
+    //鏍煎紡鍖栨椂闂�
+    add0(m) {
+      return m < 10 ? '0' + m : m;
+    },
   },
 };
 </script>

--
Gitblit v1.9.3