Browse Source

WIP

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

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

@ -133,17 +133,8 @@ 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')
// interface FormState { // interface FormState {
@ -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