From 56fc9810aa0c82a10cb5f2a26f6b46f9bb1ec2a1 Mon Sep 17 00:00:00 2001 From: liyang <1711467488@qq.com> Date: Tue, 12 Jun 2018 14:40:51 +0800 Subject: [PATCH] no message Former-commit-id: 9249e500f849ae91a4e8783fa74e58dc24e4fc70 Former-commit-id: 755aa7c79d89a30c04a6bf1481c240e592f7e8b1 Former-commit-id: ca2c34ab8db6ec5dab33cfc46f6c6db018821986 Former-commit-id: 77aab8d057ed28c63c2640196034d97726ade62c --- src/pages/demo/plugins/day/index.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/demo/plugins/day/index.vue b/src/pages/demo/plugins/day/index.vue index cafe332a..68f9fa08 100644 --- a/src/pages/demo/plugins/day/index.vue +++ b/src/pages/demo/plugins/day/index.vue @@ -47,10 +47,12 @@

查询

- {{now.isBefore(now.add(1, 'day'), 'days')}} - {{now.isBefore(now.subtract(1, 'day'), 'days')}} + {{now.isBefore(now.add(1, 'day'))}} + {{now.isBefore(now.subtract(1, 'day'))}} {{now.isSame(now)}} - {{now.isSame(now.add(1, 'day'), 'days')}} + {{now.isSame(now.add(1, 'day'))}} + {{now.isAfter(now.add(1, 'day'))}} + {{now.isAfter(now.subtract(1, 'day'))}}