Blogger Information
Blog 1
fans 0
comment 0
visits 768
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
哈哈 关注中文网很久了 试一下博客咋样吧
阿克苏AA的博客
Original
824 people have browsed it

阿水大是大阿水

data: function () {
return {
rightBtns:initbtn(parent.layui.tab.getName()),
name: parent.layui.tab.getName(), //权限标识
}
},

实例

<script> 
 var date = new Date();
 var year = date.getFullYear();
 var month = date.getMonth() + 1;
 var day = date.getDate();
 if (month < 10) {
     month = "0" + month;
 }
 if (day < 10) {
     day = "0" + day;
 }
 var dateFrom=year+'-'+month+'-01'
 var dateTo=year+'-'+month+'-'+day
 console.log(dateFrom)
 console.log(dateTo)
</script>

运行实例 »

点击 "运行实例" 按钮查看在线实例


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post