WXL
9 天以前 2895b4ea66e09cb355aeb4e030ca0de297bf8ce3
1
2
3
4
5
6
7
8
9
export default (function (o, c, d) {
  var proto = c.prototype;
 
  proto.isTomorrow = function () {
    var comparisonTemplate = 'YYYY-MM-DD';
    var tomorrow = d().add(1, 'day');
    return this.format(comparisonTemplate) === tomorrow.format(comparisonTemplate);
  };
});