From 122faf2b3a03f7ef381d70a38684fe0b70d42ebc Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期二, 12 十二月 2023 22:17:39 +0800
Subject: [PATCH] 图片上传显示bug

---
 src/components/dispatch/index.vue |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/components/dispatch/index.vue b/src/components/dispatch/index.vue
index 491d0dc..e660525 100644
--- a/src/components/dispatch/index.vue
+++ b/src/components/dispatch/index.vue
@@ -107,7 +107,7 @@
       </div>
     </el-form>
     <div class="map">
-      <MyMap></MyMap>
+      <MyMap style="width: 600px; height: 400px"></MyMap>
     </div>
     <div class="footer">
       <el-button type="primary" @click="handleDispatch">纭畾</el-button>
@@ -116,7 +116,8 @@
   </div>
 </template>
 <script>
-import MyMap from "@/components/map";
+// import MyMap from "@/components/map";
+import MyMap from "@/components/map/leafletMap.vue";
 export default {
   components: {
     MyMap,
@@ -124,9 +125,9 @@
   props: ["id", "changeDialog", "refresh", "mytype", "isGetData"],
   created() {
     // 鍒ゆ柇杞﹁締绫诲瀷
-    this.mytype === 1 ? this.getLawCarList() : this.getSoilCarList();
-    this.isGetDispatchData = this.isGetData ? this.isGetData : false;
-    this.getDepartList();
+    // this.mytype === 1 ? this.getLawCarList() : this.getSoilCarList();
+    // this.isGetDispatchData = this.isGetData ? this.isGetData : false;
+    // this.getDepartList();
   },
   data() {
     const checkPhone = (rule, value, callback) => {
@@ -407,4 +408,4 @@
     padding: 10px 20px;
   }
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.8.0