Skip to content

fix(web): create same function cause page error #603

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

Merged
merged 1 commit into from
Jan 6, 2023

Conversation

LeezQ
Copy link
Collaborator

@LeezQ LeezQ commented Jan 5, 2023

No description provided.

}

if (!res.error) {
showSuccess(isEdit ? "update success" : "create success");
onClose();
store.setCurrentFunction(res.data);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only setCurrentFunction when request is success

@LeezQ LeezQ requested a review from maslow January 5, 2023 07:26
@LeezQ LeezQ force-pushed the fix-function-error branch from 5967427 to 7ad2e76 Compare January 5, 2023 08:48
@maslow maslow merged commit caa2a5d into labring:main Jan 6, 2023
@LeezQ LeezQ deleted the fix-function-error branch January 6, 2023 08:54
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