Vue: style judges two at the same time.

: style= "{opacity:hintPopover?"1":"0"}, {pointer-events:hintPopover?"auto":"none"}"
there is a mistake in this way. I want to control how the two styles are written

.
Mar.30,2021

Don't you know that an object can have more than one key? put it in one object


:style="{opacity:hintPopover?'1':'0',pointer-events:hintPopover?'auto':'none'}"
Menu