Skip to content

Commit 0c149fc

Browse files
committed
fix not showing label on no value
1 parent 28a2b8f commit 0c149fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/vue-timepicker.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export default {
194194
},
195195
196196
readValues () {
197-
this.stateValue = (!this.value || this.muteWatch)
197+
this.stateValue = !(!this.value)
198198
if (!this.value || this.muteWatch) { return }
199199
200200
const timeValue = JSON.parse(JSON.stringify(this.value || {}))
@@ -353,7 +353,6 @@ export default {
353353
toggleDropdown () {
354354
this.showDropdown = !this.showDropdown
355355
this.stateAction = true
356-
console.log('this.stateAction', this.stateAction)
357356
},
358357
359358
select (type, value) {

0 commit comments

Comments
 (0)