9 ms·
You're correct, v-if in Vue is for conditional rendering. If the statement evaluates to false then the button isn't added to the DOM. And you're doubly correct
by SheepSlapper 7y ago
You're correct, v-if in Vue is for conditional rendering. If the statement evaluates to false then the button isn't added to the DOM.
And you're doubly correct, the back-end better verify those requests as well. Can't trust user input, which includes HTTP requests from client apps...