Skip to content

Commit cdb0999

Browse files
committed
1
1 parent 6a468b2 commit cdb0999

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/Schedule.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
methods: {
3434
tapDay(year,month,date){
35-
this.ymd = year + '' + month + '' + date + ''
35+
date = '' ? this.ymd = "今天" : this.ymd = year + '' + month + '' + date + ''
3636
this.popupVisible = true
3737
let url = '/api/schedule'
3838
this.$http.get(url,{params:{year:year,month:month,date:date}}).then((response) => {
@@ -48,7 +48,7 @@
4848
.list-box {
4949
width:100vw;padding:20px;box-sizing:border-box;max-height:50vh;overflow:auto;
5050
.list {
51-
51+
padding:10px 20px;border:#ccc solid 1px;border-radius:3px;
5252
}
5353
}
5454
</style>

0 commit comments

Comments
 (0)