Vue3 uses element-plus switch problem

When the active-value and inactive-value are set to non-bool values, the change event will be automatically executed for the first loading, canceling these two parameter settings can solve the problem of automatically executing the change event for the first loading

:active-value="1"

:inactive-value="0"

Guess you like

Origin blog.csdn.net/qq_28710983/article/details/129895585
Recommended