chore(lint): remove usage of this in template

This commit is contained in:
Xin Du (Clark) 2021-03-06 19:55:28 +00:00
parent 2f556387a4
commit 908d2522ae
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<template>
<div>
<h1>Error</h1>
<p>Details: {{ this.$route.path === '/squared' ? error.response.data : error.message }}</p>
<p>Details: {{ $route.path === '/squared' ? error.response.data : error.message }}</p>
<nuxt-link to="/">
back

View File

@ -1,7 +1,7 @@
<template>
<div>
<h1>Error</h1>
<p>Details: {{ this.$route.path === '/squared' ? error.response.data : error.message }}</p>
<p>Details: {{ $route.path === '/squared' ? error.response.data : error.message }}</p>
<nuxt-link to="/">
back