vuejs3 において、selectbox に変更がある場合に、処理(関数)を実行する。@update:modelValueを使ったよ @update:modelValue vuejs3-selectbox

vuejs3 において、selectbox に変更がある場合に、処理(関数)を実行する
@update:modelValue="関数" を使う


<v-select v-model="condition" :items="att" @update:modelValue="logHoge" ></v-select>

selectboxを変更するたびに、logHoge()を実行する


ぐぐったら、@change を使えと紹介してる記事あったけどこれではうまくいかず、@update:modelValue だったのね。