mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 08:06:44 +08:00
this.cvalidateStr取值
This commit is contained in:
@@ -74,9 +74,11 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
cvalidateStrToFormat() {
|
||||
return utils.formatDate(new Date(this.cvalidateStr), 'yyyy年MM月dd日')
|
||||
console.log(this.cvalidateStr,'computed')
|
||||
return utils.formatDate(new Date('2021-07-01'), 'yyyy年MM月dd日')
|
||||
},
|
||||
cvalidateStrOneDayOff() {
|
||||
console.log(this.cvalidateStr,'computed1')
|
||||
let date = new Date(this.cvalidateStr)
|
||||
let dateTime
|
||||
dateTime=date.setDate(date.getDate()-1);
|
||||
@@ -90,8 +92,10 @@ export default {
|
||||
[Dialog.name]: Dialog,
|
||||
[NoticeBar.name]: NoticeBar
|
||||
},
|
||||
mounted() {
|
||||
created() {
|
||||
this.init()
|
||||
},
|
||||
mounted() {
|
||||
let readingType = localStorage.getItem('readingProtocolType')
|
||||
if (readingType && readingType === '1') {
|
||||
this.protocol = true
|
||||
|
||||
Reference in New Issue
Block a user