[SOLVED] Call method form other method


#1

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>

#2

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


#3

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