How to convert the numbers sent from the background of el-table-column into the corresponding content?

the fault type sent from the background is
clipboard.png

like 0 1 / 2 3.

I want to give it a corresponding content in front of it. If it is passed to 0, the accident will be shown in front of the collision.
I"d like to ask the boss how to write it. I don"t write it correctly. No, no, no.

      <el-table-column
        prop="alarmType"
        label=""
        valueMap="{0:"",1: ""}"
      >
       </el-table-column>

Mar.17,2021

you can use formatter
such as the example on the official element-ui document:

<template>
  <el-table
    :data="tableData"
    style="width: 100%"
    :default-sort = "{prop: 'date', order: 'descending'}"
    >
    <el-table-column
      prop="date"
      label=""
      sortable
      width="180">
    </el-table-column>
    <el-table-column
      prop="name"
      label=""
      sortable
      width="180">
    </el-table-column>
    <el-table-column
      prop="address"
      label=""
      :formatter="formatter">
    </el-table-column>
  </el-table>
</template>

<script>
  export default {
    data() {
      return {
        tableData: [{
          date: '2016-05-02',
          name: '',
          address: ' 1518 '
        }, {
          date: '2016-05-04',
          name: '',
          address: ' 1517 '
        }, {
          date: '2016-05-01',
          name: '',
          address: ' 1519 '
        }, {
          date: '2016-05-03',
          name: '',
          address: ' 1516 '
        }]
      }
    },
    methods: {
      formatter(row, column) {
        return row.address;
      }
    }
  }
</script>

I added a judgment emmmmm to the field before I got the array

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-1b3b32e-2c256.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-1b3b32e-2c256.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?