diff --git a/.env.development b/.env.development index b0855a0..e4a1d61 100644 --- a/.env.development +++ b/.env.development @@ -6,7 +6,7 @@ VITE_PUBLIC_PATH = / # 跨域代理,您可以配置多个 ,请注意,没有换行符 VITE_PROXY = [["/jeecgboot","http://192.168.2.110:9999"],["/upload","http://192.168.2.110:3300/upload"]] -#VITE_PROXY = [["/jeecgboot","https://fxnsp.sxcooh.com/lh-api/"],["/upload","http://192.168.2.111:3300/upload"]] +VITE_PROXY = [["/jeecgboot","https://fxnsp.sxcooh.com/lh-api/"],["/upload","http://192.168.2.111:3300/upload"]] # 控制台不输出 VITE_DROP_CONSOLE = false @@ -16,7 +16,7 @@ VITE_GLOB_API_URL=/jeecgboot #后台接口全路径地址(必填) VITE_GLOB_DOMAIN_URL=http://192.168.2.110:9999 -#VITE_GLOB_DOMAIN_URL=https://fxnsp.sxcooh.com +VITE_GLOB_DOMAIN_URL=https://fxnsp.sxcooh.com # 接口前缀 VITE_GLOB_API_URL_PREFIX= diff --git a/src/components/MapSelect/MapSelect.vue b/src/components/MapSelect/MapSelect.vue index 46942a0..92d4d79 100644 --- a/src/components/MapSelect/MapSelect.vue +++ b/src/components/MapSelect/MapSelect.vue @@ -50,11 +50,13 @@ -
+ @@ -286,6 +288,16 @@ export default defineComponent( { markers.value.push([lng2, lat2]); getAddress(lng2, lat2).then(res => {address.value = res.formattedAddress;}); } + // 输入坐标 + function lngInputBlur() { + if(lng.value && lat.value && lng.value != 0 && lat.value != 0){ + resultShow.value = false; + markers.value = []; + center.value = [lng.value, lat.value]; + markers.value.push([lng.value, lat.value]); + getAddress(lng.value, lat.value).then(res => {address.value = res.formattedAddress;}); + } + } // 保存 function save() { change({ @@ -345,7 +357,8 @@ export default defineComponent( { doSearch, inputBlur, inputFocus, - registerModal + registerModal, + lngInputBlur } } }); @@ -366,7 +379,7 @@ export default defineComponent( { } .footer { position: absolute; - bottom: 5px; + bottom: -8px; width: 100%; >p{ width: 70%; diff --git a/src/views/sys/login/TokenLoginPage.vue b/src/views/sys/login/TokenLoginPage.vue index 82bd19a..fefed9e 100644 --- a/src/views/sys/login/TokenLoginPage.vue +++ b/src/views/sys/login/TokenLoginPage.vue @@ -71,7 +71,7 @@ }); let loginInfo = getAuthCache(LOGIN_INFO_KEY); if (loginInfo) { - text = loginInfo.systemName; + text.value = loginInfo.systemName; } } else { notification.error({