mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
chore(lint): remove usage of this in template
This commit is contained in:
parent
2f556387a4
commit
908d2522ae
2
test/fixtures/error/layouts/error.vue
vendored
2
test/fixtures/error/layouts/error.vue
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user