这没啥说的:
<el-table-column prop="platform" label="适用平台">
<template slot-scope="scope">
<icon-tag :type="scope.row.platform === 1 ? 'success' : scope.row.platform === 0 ? 'primary' : 'info' ">{{ scope.row.platform === 1 ? '安卓' : scope.row.platform === 0 ? 'IOS' : '未知' }}</icon-tag>
</template>
</el-table-column>