12 lines
139 B

<button on:click='foo()'></button>
<script>
export default {
methods: {
foo: () => {
this.set({ a: 1 });
}
}
};
</script>