This commit is contained in:
les
2020-10-28 01:30:37 +01:00
parent 344578103a
commit 8d83ec0358
6 changed files with 9 additions and 10 deletions

View File

@@ -7,7 +7,7 @@
:hide-no-data="!place._name"
:search-input.sync="place._name"
persistent-hint
:value="value.place"
:value="value.name"
:items="places"
item-text='name'
@change='selectPlace')
@@ -42,7 +42,6 @@ export default {
},
methods: {
selectPlace (p) {
console.error(p)
const place = p && this.places.find(place => place.id === p.id)
if (place && place.address) {
this.place.name = p.name

View File

@@ -66,7 +66,6 @@
</template>
<script>
import { mapActions, mapState } from 'vuex'
import _ from 'lodash'
import dayjs from 'dayjs'
import Editor from '@/components/Editor'
import List from '@/components/List'