minor
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user