优化
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {mapActions} from 'vuex'
|
||||
import lunar from '../../config/calendar'
|
||||
export default {
|
||||
data () {
|
||||
|
||||
Reference in New Issue
Block a user