js 数组之强制转换

问题:在用数组存值时会出现 某个值未填写出现跳过的现象

解决方法:

 for (let i = 0; i < 9; i++) {
        console.log(this.updata[i]===0, this.updata[i] === "",this.updata[i])
      }