优化
This commit is contained in:
@@ -78,7 +78,7 @@
|
|||||||
this.date = date.defaultValue || this.$dayjs(new Date).format('YYYY-MM-DD')
|
this.date = date.defaultValue || this.$dayjs(new Date).format('YYYY-MM-DD')
|
||||||
this.time = time.defaultValue || this.$dayjs().format('HH:mm')
|
this.time = time.defaultValue || this.$dayjs().format('HH:mm')
|
||||||
this.week = date.defaultValue ? this.$dayjs(date.defaultValue).day() : new Date().getDay()
|
this.week = date.defaultValue ? this.$dayjs(date.defaultValue).day() : new Date().getDay()
|
||||||
this.address = uni.getStorageSync('address').address || ''
|
this.address = address.defaultValue || ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
deep: true
|
deep: true
|
||||||
|
|||||||
@@ -105,7 +105,7 @@
|
|||||||
this.gridName = gridName.defaultValue || ''
|
this.gridName = gridName.defaultValue || ''
|
||||||
this.serviceName = serviceName.defaultValue || ''
|
this.serviceName = serviceName.defaultValue || ''
|
||||||
this.text = text.defaultValue || ''
|
this.text = text.defaultValue || ''
|
||||||
this.address = uni.getStorageSync('address').address || ''
|
this.address = address.defaultValue || ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
deep: true
|
deep: true
|
||||||
|
|||||||
@@ -68,8 +68,7 @@
|
|||||||
this.isShowAddress = address.status === '1'
|
this.isShowAddress = address.status === '1'
|
||||||
this.isShowTitle = title.status === '1'
|
this.isShowTitle = title.status === '1'
|
||||||
this.title = title.defaultValue || ''
|
this.title = title.defaultValue || ''
|
||||||
this.address = uni.getStorageSync('address').address || ''
|
this.address = address.defaultValue || ''
|
||||||
this.weather = uni.getStorageSync('address').weather || ''
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
deep: true
|
deep: true
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {mapActions} from 'vuex'
|
|
||||||
import lunar from '../../config/calendar'
|
import lunar from '../../config/calendar'
|
||||||
export default {
|
export default {
|
||||||
data () {
|
data () {
|
||||||
|
|||||||
Reference in New Issue
Block a user