🐛 菜单管理缓冲状态显示错误

This commit is contained in:
lbw 2023-04-14 22:21:43 +08:00
parent 8293514627
commit ee05f3431e

View File

@ -53,8 +53,8 @@
</el-table-column> </el-table-column>
<el-table-column :label="$t('sysmenu.keepAlive')" show-overflow-tooltip> <el-table-column :label="$t('sysmenu.keepAlive')" show-overflow-tooltip>
<template #default="scope"> <template #default="scope">
<el-tag type="info" v-if="scope.row.keepAlive === '0'">关闭</el-tag> <el-tag v-if="scope.row.meta.isKeepAlive">开启</el-tag>
<el-tag type="success" v-if="scope.row.keepAlive === '1'">开启</el-tag> <el-tag type="info" v-else>关闭</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('sysmenu.permission')" :show-overflow-tooltip="true" prop="permission"></el-table-column> <el-table-column :label="$t('sysmenu.permission')" :show-overflow-tooltip="true" prop="permission"></el-table-column>