Bootstrap

iview table表格中复选框改单选

    computed: {
      columns() {
        return [
          {
            title: this.$t("Business.reportName"),
            key: "name",
            render: (h, params) => {
              return h('div', {
                style: {
                  textDecoration: 'underline',
                  color: '#2d8cf0',
                  cursor: 'pointer'
                },
                on: {
                  click: () => {
                    this.showReport(params.row.path)
                  }
                }
              },params.row.name);
            }
          },
          {
            title: this.$t("Business.description"),
            align: "center",
            key: "description",
          },
        ];
      },
    },

 

 
;