You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using v-chilip-group for chose some presets.
Catch the preset change by @change, and show [Yes or No dialog] by confirm ( javascript regular function. ) .
Then,I have a trouble.
Although I choose No in dialog,the preset is changed.
But previously preset is still active(chacked by console.log(activePreset))!!!!!!!!!
Why!?!?
I dont wanna change active preset if I choose No....
Could anyone please give me solution!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using v-chilip-group for chose some presets.
Catch the preset change by @change, and show [Yes or No dialog] by confirm ( javascript regular function. ) .
Then,I have a trouble.
Although I choose No in dialog,the preset is changed.
But previously preset is still active(chacked by console.log(activePreset))!!!!!!!!!
Why!?!?
I dont wanna change active preset if I choose No....
Could anyone please give me solution!
Sorry for Bad question...
Im vue biginnner...
Beta Was this translation helpful? Give feedback.
All reactions