抄表记录提交
This commit is contained in:
@@ -8,8 +8,19 @@ Component({
|
||||
*/
|
||||
properties: {
|
||||
show: Boolean,
|
||||
// time: String,
|
||||
},
|
||||
|
||||
// observers: {
|
||||
// time: function(newValue) {
|
||||
// console.log("time newValue", newValue)
|
||||
// if (!newValue) {
|
||||
// return;
|
||||
// }
|
||||
// this.setData({
|
||||
// currentDate: new Date(newValue).getTime(),
|
||||
// })
|
||||
// }
|
||||
// },
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
@@ -20,7 +31,10 @@ Component({
|
||||
},
|
||||
lifetimes: {
|
||||
attached() {
|
||||
|
||||
this.setData({
|
||||
maxDate: new Date().getTime(),
|
||||
currentDate: new Date().getTime(),
|
||||
})
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
Reference in New Issue
Block a user