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

Loading…
Cancel
Save