Browse Source

WIP

pull/4140/head
flisowna 2 years ago
parent
commit
274de9c62a
  1. 15
      packages/nc-gui/components/cell/GeoData.vue

15
packages/nc-gui/components/cell/GeoData.vue

@ -133,16 +133,7 @@ const latLongStr = computed(() => {
// longitude: number
// }
const latLong = computed(() => {
const [latitude, longitude] = (vModel.value || '').split(';')
return latitude == null || longitude == null
? null
: {
latitude,
longitude,
}
})
const [latitude, longitude] = (vModel.value || '').split(';')
// const latitude = ref('INITIAL')
@ -152,8 +143,8 @@ const latLong = computed(() => {
// }
const formState = reactive({
latitude: latLong.value?.latitude,
longitude: latLong.value?.longitude,
latitude,
longitude,
})
const handleFinish = () => {

Loading…
Cancel
Save