Skip to content

Commit bcc808b

Browse files
committed
fix: reset error when all goes well
closes #38
1 parent 09fdb4c commit bcc808b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Preview.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ export default {
171171
if (options.template || options.render) {
172172
this.previewedComponent = options;
173173
this.iteration = this.iteration + 1;
174+
this.error = false;
174175
} else {
175176
this.handleError({
176177
message:

0 commit comments

Comments
 (0)