You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@click="async()=>awaitfetchNextPage()" />
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Prefer inline function over inline handler in v-on. eslint(vue/v-on-handler-style)
there's an auto fix available, but it will just warping the async function into a regular function declaration and not executing it:
Checklist
Tell us about your environment
Please show your full configuration:
https://github.com/n0099/open-tbm/blob/43520ccf9b179639a1bbe78e7351ca569f448bf5/fe/.eslintrc.cjs#L512
What did you do?
What did you expect to happen?
Not reporting.
What actually happened?
there's an auto fix available, but it will just warping the async function into a regular function declaration and not executing it:
Only warping it with an IIFE is working proper:
Or just allow async event listener since it just works: vuejs/vue#10338 (comment)
Repository to reproduce this issue
https://github.com/n0099/open-tbm/blob/2ed3aa04d13cf73d4e3dcf751d336a3e93477d91/fe/src/components/Post/PostPage.vue#L7
The text was updated successfully, but these errors were encountered: