|
@@ -39,9 +39,9 @@
|
|
|
align="center"
|
|
|
label="类型">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-tag v-if="scope.row.type === 0" size="small">目录</el-tag>
|
|
|
- <el-tag v-else-if="scope.row.type === 1" size="small" type="success">菜单</el-tag>
|
|
|
- <el-tag v-else-if="scope.row.type === 2" size="small" type="info">按钮</el-tag>
|
|
|
+ <el-tag v-if="scope.row.type === '0'" size="small">目录</el-tag>
|
|
|
+ <el-tag v-else-if="scope.row.type === '1'" size="small" type="success">菜单</el-tag>
|
|
|
+ <el-tag v-else-if="scope.row.type === '2'" size="small" type="info">按钮</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|