Fix wrong prop types
This commit is contained in:
parent
8ee9a536e1
commit
6f58a49c91
|
@ -53,7 +53,10 @@
|
|||
class="podcast-episode-title ellipsis"
|
||||
@click.prevent.exact="activateTrack(track, index)"
|
||||
>{{ track.title }}</a>
|
||||
<p class="podcast-episode-meta">
|
||||
<p
|
||||
v-if="description"
|
||||
class="podcast-episode-meta"
|
||||
>
|
||||
{{ description.text }}
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<script>
|
||||
export default {
|
||||
props: {
|
||||
duration: { type: Object, required: true }
|
||||
duration: { type: Number, required: true }
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -89,7 +89,7 @@ import clip from 'text-clipper'
|
|||
|
||||
export default {
|
||||
props: {
|
||||
content: { type: String, required: true },
|
||||
content: { type: String, default: '' },
|
||||
fieldName: { type: String, required: false, default: 'description' },
|
||||
updateUrl: { required: false, type: String, default: '' },
|
||||
canUpdate: { required: false, default: true, type: Boolean },
|
||||
|
|
|
@ -23,7 +23,7 @@ import { hashCode, intToRGB } from '@/utils/color'
|
|||
|
||||
export default {
|
||||
props: {
|
||||
user: { type: String, required: true },
|
||||
user: { type: Object, required: true },
|
||||
avatar: { type: Boolean, default: true }
|
||||
},
|
||||
computed: {
|
||||
|
|
|
@ -22,7 +22,7 @@ import $ from 'jquery'
|
|||
|
||||
import lodash from '@/lodash'
|
||||
export default {
|
||||
props: { value: { type: String, required: true } },
|
||||
props: { value: { type: Array, required: true } },
|
||||
watch: {
|
||||
value: {
|
||||
handler (v) {
|
||||
|
|
|
@ -28,7 +28,7 @@ export default {
|
|||
customRadioId: { type: Number, default: 0, required: false },
|
||||
type: { type: String, required: false, default: '' },
|
||||
clientOnly: { type: Boolean, default: false },
|
||||
objectId: { type: Number, default: null }
|
||||
objectId: { type: String, default: null }
|
||||
},
|
||||
computed: {
|
||||
running () {
|
||||
|
|
|
@ -52,8 +52,8 @@ export default {
|
|||
},
|
||||
props: {
|
||||
type: { type: String, required: true, default: '' },
|
||||
customRadio: { type: Boolean, required: false },
|
||||
objectId: { type: Number, required: false, default: 0 }
|
||||
customRadio: { type: Object, required: false, default: () => { return {} } },
|
||||
objectId: { type: String, required: false, default: '' }
|
||||
},
|
||||
computed: {
|
||||
radio () {
|
||||
|
|
|
@ -459,7 +459,7 @@ export default {
|
|||
to.meta.preserveScrollPosition = true
|
||||
next()
|
||||
},
|
||||
props: { id: { type: Number, required: true } },
|
||||
props: { id: { type: String, required: true } },
|
||||
data () {
|
||||
return {
|
||||
isLoading: true,
|
||||
|
|
Loading…
Reference in New Issue