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
I can use getItems.value in methods and it works fine.
But if I try to use getItems in the template, e.g. <div v-if="getItems < 2" (...)> I get this error:
(property) getItems: Ref<any>
Operator '<' cannot be applied to types 'Ref<any>' and 'number'
What's going wrong ? Thanks (and thank you for this very useful library).
The text was updated successfully, but these errors were encountered:
Hi, I have this getter that returns a
number
:and
I can use
getItems.value
in methods and it works fine.But if I try to use
getItems
in the template, e.g.<div v-if="getItems < 2" (...)>
I get this error:What's going wrong ? Thanks (and thank you for this very useful library).
The text was updated successfully, but these errors were encountered: