JAVASCRIPT
VUE
REACT
NODE
ES6
TYPESCRIPT

常用的

2021. 02. 22    

常用

DEFAULT_DATE_FORMAT(new Date())
【2020-07-09 16:14:47】
DEFAULT_DATE_FORMAT(1594033249000))
【2020-07-06 19:00:49】
DEFAULT_DATE_FORMAT(Thu May 21 2020 19:45:11 GMT+0800 (中国标准时间))
【2020-07-06 19:00:49】

DEFAULT_DATE_PARSER("2020-05-21 19:45:11")
【Thu May 21 2020 19:45:11 GMT+0800 (中国标准时间)】
DEFAULT_DATE_PARSER("2020-05-21 19:45:11").getTime();
【1590061511000】


const DEFAULT_DATE_FORMAT = d3.timeFormat("%Y-%m-%d");
const DEFAULT_DATE_PARSER = d3.timeParse("%Y-%m-%d");

%Y-%m-%d %H:%M:%S

administrator

this.$nextTick(function() {
  this.$refs["pages"].currentPage = 1;
})

renderHeader: (h, p) => {}

<Row type="flex" justify="center" style="margin-top: 20px;">
  <Page :total="totalElements"  :page-size="20" @on-change="getAllTask" show-total />
</Row>

identity  :player /  partner  /  manager

转 encodeURIComponent
解 decodeURIComponent


let routeData = this.$router.resolve({
  path: `/my/dou/data/detailInfo/${id}`,
  query: { detail_id: detail_id }
});
window.open(routeData.href, "_blank");


this.$router.push({
  path: `/my/dou/authorize`
});



if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {

} else {

}

layout: post
date: '2021-01-14 13:32:20 +0300'
tags:
  - Echarts


.then(response=>{
  let result = response.body.result
})
.catch((response) => {
  response.body.message &&
    this.$Message.error({
      content: response.body.message,
      duration: 3,
  });
});