Is it possible to stop/cancel rendering a component? #10861
Unanswered
saindo
asked this question in
Help/Questions
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Instead of : <My_component v-if="list.length>0" :data="list"></My_component> ,
I would prefer: In my_component.beforeCreate(): { if (data.length==0){//stop rendering or cancel creating here; } }
No matter if reasonable or not, is this possible?
TKS!
Beta Was this translation helpful? Give feedback.
All reactions