美文网首页
vue 微信 网页空白

vue 微信 网页空白

作者: 中二少爷 | 来源:发表于2018-04-26 18:51 被阅读0次

通过版本控制来解决

var timeStamp, date, year, month, day;

  date = new Date();

  year = date.getFullYear().toString();

  if (date.getMonth() + 1 < 10) {

    month = (date.getMonth() + 1);

  } else {

    month = (date.getMonth() + 1).toString();

  }

  if (date.getDate() < 10) {

    day = "0" + date.getDate();

  } else {

    day = date.getDate().toString();

  }

  timeStamp = year + month + day;

在配置文件下webpack.prod.conf.js 修改

js js css

相关文章

网友评论

      本文标题:vue 微信 网页空白

      本文链接:https://www.haomeiwen.com/subject/vhpmlftx.html