vue数据改变ui不刷新解决办法
onBlurForFh(){ let bf = this.returnModel.returnamtStr.replace(/[,]/g,""); this.returnModel.returnamt = parseFloat(bf).toFixed(2); this.returnModel.returnamtStr = this.abs(parseFloat(bf)); this.$forceUpdate();//添加强制刷新 },
onBlurForFh(){ let bf = this.returnModel.returnamtStr.replace(/[,]/g,""); this.returnModel.returnamt = parseFloat(bf).toFixed(2); this.returnModel.returnamtStr = this.abs(parseFloat(bf)); this.$forceUpdate();//添加强制刷新 },