select强制更新
@change="$forceUpdate()"
input强制更新
@input="$forceUpdate()"
修改某条数据后,强制更新视图
this.$set(Array, index, newValue)
for (let i = 0; i < this.equipmentListShowData.length; i++) {
if (this.equipmentListShowData[i].MobilePhone == this.form.MobilePhone) {
let newValue = this.equipmentListShowData[i]
newValue.OS_ID = this.form.OS_ID
newValue.UserID = this.form.UserID
newValue.MobilePhone = this.form.MobilePhone
newValue.ICCID = this.form.ICCID
newValue.UserName = this.form.UserName
newValue.Priority = this.form.Priority
this.$set(this.equipmentListShowData, i, newValue)
}
}
3997

被折叠的 条评论
为什么被折叠?



