Fix some components props to be not required
This commit is contained in:
parent
916e63eb09
commit
c32a364cfe
|
@ -14,7 +14,7 @@
|
|||
import { mapState } from 'vuex'
|
||||
export default {
|
||||
props: {
|
||||
date: { type: String, required: true },
|
||||
date: { type: String, default: '' },
|
||||
icon: { type: Boolean, required: false, default: false }
|
||||
},
|
||||
computed: {
|
||||
|
|
|
@ -30,10 +30,10 @@
|
|||
<script>
|
||||
export default {
|
||||
props: {
|
||||
value: { type: String, required: true },
|
||||
value: { type: String, default: '' },
|
||||
defaultShow: { type: Boolean, default: false },
|
||||
copyButton: { type: Boolean, default: false },
|
||||
fieldId: { type: String, required: true }
|
||||
fieldId: { type: String, default: 'password' }
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
|
|
|
@ -407,7 +407,7 @@ export default {
|
|||
FetchButton,
|
||||
TagsList
|
||||
},
|
||||
props: { id: { type: Number, required: true } },
|
||||
props: { id: { type: Number, default: 0 } },
|
||||
data () {
|
||||
return {
|
||||
isLoading: true,
|
||||
|
|
Loading…
Reference in New Issue