[Vuejs]-How can I use context "this" at {{}} vue?

4👍

In Vue, I would put a logic as complicated as yours in the script, not in the template. You could e. g. put your whole expression in a function in the computed section, and then just call this function in the template.

Leave a comment