This commit is contained in:
yanran200730
2022-08-01 08:58:45 +08:00
parent a1ebcb61a3
commit add80a1520
4 changed files with 3 additions and 5 deletions

View File

@@ -78,7 +78,7 @@
this.date = date.defaultValue || this.$dayjs(new Date).format('YYYY-MM-DD')
this.time = time.defaultValue || this.$dayjs().format('HH:mm')
this.week = date.defaultValue ? this.$dayjs(date.defaultValue).day() : new Date().getDay()
this.address = uni.getStorageSync('address').address || ''
this.address = address.defaultValue || ''
}
},
deep: true

View File

@@ -105,7 +105,7 @@
this.gridName = gridName.defaultValue || ''
this.serviceName = serviceName.defaultValue || ''
this.text = text.defaultValue || ''
this.address = uni.getStorageSync('address').address || ''
this.address = address.defaultValue || ''
}
},
deep: true

View File

@@ -68,8 +68,7 @@
this.isShowAddress = address.status === '1'
this.isShowTitle = title.status === '1'
this.title = title.defaultValue || ''
this.address = uni.getStorageSync('address').address || ''
this.weather = uni.getStorageSync('address').weather || ''
this.address = address.defaultValue || ''
}
},
deep: true

View File

@@ -7,7 +7,6 @@
</template>
<script>
import {mapActions} from 'vuex'
import lunar from '../../config/calendar'
export default {
data () {