This commit is contained in:
yanran200730
2022-05-27 15:39:48 +08:00
parent caad0caa04
commit 0ad9022745
2 changed files with 2 additions and 2 deletions

View File

@@ -95,7 +95,7 @@
this.isShowDate = date.status === '1'
this.isShowAddress = address.status === '1'
this.title = title.defaultValue || '巡查日志'
this.address = uni.getStorageSync('address').address || ''
this.address = uni.getStorageSync('address').address || address.defaultValue
this.weather = uni.getStorageSync('address').weather || ''
this.reporter = reporter.defaultValue || ''
this.date = date.defaultValue || this.$dayjs(new Date).format('YYYY-MM-DD')

View File

@@ -117,7 +117,7 @@
this.isShowAddress = address.status === '1'
this.title = title.defaultValue || ''
this.address = address.defaultValue || ''
this.address = uni.getStorageSync('address').address || address.defaultValue
this.hoster = hoster.defaultValue || ''
this.date = date.defaultValue || this.$dayjs(new Date).format('YYYY-MM-DD')
this.remark = remark.defaultValue || ''