menuNew() {
if (проверка) {
return [
{
title: 'Home',
url: '/'
]
}
return [
{
title: 'Login',
url: '/login'
}
]
}
<video class="video-fluid z-depth-1" loop autoplay muted playsinline>
<source src="@/assets/video/compress_video.mp4" type="video/mp4">
<source src="@/assets/video/compress_video.webm" type="video/webm">
<p>Sorry, there's a problem playing this video. Please try using a different browser.</p>
</video>
let text = "00:50:69";
let reg = text.match(/\d/gi);
console.log(reg) // все вместе
let reg2 = text.match(/\d$/gi);
console.log(reg2) // только последний элемент