🎨
This commit is contained in:
parent
f1301a4780
commit
ba1c823fb1
4 changed files with 22 additions and 0 deletions
|
|
@ -103,6 +103,12 @@ export default Vue.extend({
|
|||
(this as any).api('notes/favorites/create', {
|
||||
noteId: this.note.id
|
||||
}).then(() => {
|
||||
this.$swal({
|
||||
type: 'success',
|
||||
showConfirmButton: false,
|
||||
timer: 1250,
|
||||
customClass: 'swal-icon-only'
|
||||
});
|
||||
this.destroyDom();
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue