From 9ec4ad8b02fb8a0e66990a83c15a3a3210dbb194 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Wed, 22 May 2024 23:35:21 +0800
Subject: [PATCH] 代码优化

---
 src/components/cardPopup/cardPopuponce.vue |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/components/cardPopup/cardPopuponce.vue b/src/components/cardPopup/cardPopuponce.vue
index 6ff6599..5378aff 100644
--- a/src/components/cardPopup/cardPopuponce.vue
+++ b/src/components/cardPopup/cardPopuponce.vue
@@ -113,15 +113,15 @@
               slot: true,
               label: "位置",
               prop: "location",
-              type: "map",
+              // type: "map",
               dataType: "string",
               // labelWidth: 120,
               // span: 24,
-              value: [117.96646, 28.431002, ""],
+              // value: [117.96646, 28.431002, ""],
               // cascader: ['houseCodeBinds'],
-              mapChange: (params) => {
-                console.log('高德回调参数', params)
-              },
+              // mapChange: (params) => {
+              //   console.log('高德回调参数', params)
+              // },
               //高德初始化参数
               params: {
                 zoom: 10,
@@ -157,7 +157,8 @@
               searchSpan: 4,
               searchType: 'input',
               type: "tree",
-              dicUrl: "/api/blade-system/region/treeToCommunity",
+              dicUrl: "/api/blade-system/region/treeToCommunity?isFiter='1'",
+              defaultExpandedKeys: ["361102"],
               props: {
                 label: "name",
                 value: "id"
@@ -295,4 +296,4 @@
     width: 100%;
     height: 100%;
   }
-</style>
+</style>
\ No newline at end of file

--
Gitblit v1.9.3