refactor
This commit is contained in:
parent
645dbebd86
commit
b80ec1fa3f
9 changed files with 40 additions and 47 deletions
|
|
@ -53,8 +53,8 @@ export default defineComponent({
|
|||
if (el.key == null && item.id) el.key = item.id;
|
||||
|
||||
if (
|
||||
i != props.items.length - 1 &&
|
||||
new Date(item.createdAt).getDate() != new Date(props.items[i + 1].createdAt).getDate()
|
||||
i !== props.items.length - 1 &&
|
||||
new Date(item.createdAt).getDate() !== new Date(props.items[i + 1].createdAt).getDate()
|
||||
) {
|
||||
const separator = h('div', {
|
||||
class: 'separator',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue