How to realize the data judgment of three states in vue?

I got a piece of data from the background, which is an array object in the following format:

{{item.state}}</div>
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      info: this.$store.state.IndexStore.Progress.cardSchedule //
    }
  }
  computed: {
    formatInfo () {
      this.info.map((current, index) => {
        switch (current.state) {
          case "0": current.state = ""
            break
          case "1": current.state = ""
            break
          case "2": current.state = ""
            break
        }
      })
    }
  },
}
</script>

I can"t get the effect I want when I write this, and I can only render 1 or 0 or 2-sharp-sharp-sharp problem description if I can"t see the status of"in process".

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Mar.29,2021

   

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a748-2c20f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a748-2c20f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?