Vue 3.0 では、 reactive()で定義された応答データを使用する場合、オブジェクトが再度割り当てられると、データは正常に変更されたことがわかりますが、ページは最新のデータで自動的にレンダリングされません。
vueを使用した強制リフレッシュ処理
<スクリプトセットアップ>
import {defineComponent , ref , computed , toRefs , getCurrentInstance} from 'vue'
constinternalInstance = getCurrentInstance()
//データを操作した後、たとえば tabledata= xxx の後などにビューを更新します。
InternalInstance.ctx.$forceUpdate()
}
</script>