Skip to content

clone event when add new event #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

clone event when add new event #3

wants to merge 2 commits into from

Conversation

liuzhongshu
Copy link

when add new event, clone it will keep the event is unique in event list.

@chenkie
Copy link
Owner

chenkie commented Feb 3, 2016

Thanks for your PR :) what does this change aim to do?

@liuzhongshu
Copy link
Author

In current version, after add an event, I can not add new event by click "發佈".
I debug the code, the added two events is one object, so I change the code to clone the event when add to events array, then it works.

I don't know what cause the problem, maybe it's behaviour of vue, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants