this.$forceUpdate()
import { getCurrentInstance } from "vue"; setup(){ //解构赋值 设置别名that 也可不写 :that 直接ctx let { ctx:that} = getCurrentInstance() that.$forceUpdate() }