年 月 辰
js
const date = new Date();
this.nowDate = date.getFullYear() //+ "年" //+ (date.getMonth() + 1) + "月" + date.getDate() + "日";
this.yueData = date.getMonth() + 1 // (date.getMonth() + 1) + "月"
console.log(this.yueData, 'yueData');
console.log(this.nowDate + 1, 'nowDate');
var d = new Date()
var y = d.getFullYear()-1
var m = d.getFullYear() + 1
this.searchFormData.nd = String(y)
const date = new Date();
this.nowDate = date.getFullYear() //+ "年" //+ (date.getMonth() + 1) + "月" + date.getDate() + "日";
this.yueData = date.getMonth() + 1 // (date.getMonth() + 1) + "月"
console.log(this.yueData, 'yueData');
console.log(this.nowDate + 1, 'nowDate');
var d = new Date()
var y = d.getFullYear()-1
var m = d.getFullYear() + 1
this.searchFormData.nd = String(y)