[SOLVED] Call method form other method

Hi guys!

How can I call a method from another method?
For example:

<template>
...
</template>
<script>
	return {
		methods: {
			oneMethod: function () {
				console.log('test')
			},
			twoMethod: function () {
				call(oneMethod)
			},
		}
	}
</script>
1 Like

this.oneMethod(); Вот так

2 Likes

Спасибо, это сработало!