Add disposeAutoSave method autosave mixin.
This commit is contained in:
parent
01aa7752ef
commit
e95be13d4d
|
|
@ -152,7 +152,7 @@ export default {
|
|||
this.initAutoSave(this.transformedDiscussion, ['Reply']);
|
||||
});
|
||||
} else {
|
||||
this.autosave.dispose();
|
||||
this.disposeAutoSave();
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -23,5 +23,8 @@ export default {
|
|||
setAutoSave() {
|
||||
this.autosave.save();
|
||||
},
|
||||
disposeAutoSave() {
|
||||
this.autosave.dispose();
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue