parent
b32737cdff
commit
b5a1fdd4c7
5 changed files with 73 additions and 70 deletions
|
@ -52,8 +52,8 @@ export default Vue.extend({
|
|||
});
|
||||
|
||||
const prepend = note => {
|
||||
const _note = JSON.parse(JSON.stringify(note)); // deepcopy
|
||||
(this.$refs.tl as any).prepend(_note);
|
||||
Object.freeze(note);
|
||||
(this.$refs.tl as any).prepend(note);
|
||||
|
||||
this.$emit('note');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue