es6数组去重

    xiaoxiao2022-07-04  165

    this.righttab=[1,1,2,2]

    this.righttab = Array.from(new Set(this.righttab)) //[1,2]

    最新回复(0)