no message

Former-commit-id: 6dc147e02a8ae4516da8ef362706c6cc94a006e2
Former-commit-id: 6c9b7efa78abd0d7b21f1b789b36548d2fbf7572
Former-commit-id: 5d6c7fa3c38efe6e39532b0f58dd6b17766b3843
Former-commit-id: 0fcd46d83d8d00a10322ea7b56fd3d474d184acc
This commit is contained in:
liyang
2018-06-12 08:59:15 +08:00
parent e171fbfca5
commit 3d91df2f68

View File

@@ -6,7 +6,8 @@
</el-table-column>
<el-table-column prop="address" align="center">
<template slot-scope="scope">
<el-button type="primary" @click="handleSelectTheme(scope.row.value)">使用</el-button>
<el-button v-if="themeName === scope.row.value" type="success" icon="el-icon-check" round>已激活</el-button>
<el-button v-else round @click="handleSelectTheme(scope.row.value)">使用</el-button>
</template>
</el-table-column>
</el-table>