You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
Component({
|
|
properties: {
|
|
date:{
|
|
type:String,
|
|
observer:function(date){
|
|
var _date = date.replace(/0?(.+)-0?(.+)/,"$1月$2日");
|
|
this.setData({_date});
|
|
}
|
|
},
|
|
activities:Array
|
|
},
|
|
attached:function(){
|
|
console.log(this.data);
|
|
},
|
|
data: {
|
|
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
})
|