Browse Source

不提示查看一级菜单

redesign
zhangyuan 5 years ago
parent
commit
8eeeec096a
  1. 1
      src/views/modules/honest/newssection.vue

1
src/views/modules/honest/newssection.vue

@ -33,7 +33,6 @@
<el-table-column prop="description" label="描述" header-align="center" align="center"></el-table-column>
<el-table-column :label="$t('handle')" fixed="right" header-align="center" align="center" width="150">
<template slot-scope="scope">
<el-button v-if="scope.row.pid !== '0'" type="text" size="small" @click="beforeGetDataList('0')">查看一级类别</el-button>
<el-button v-if="scope.row.pid === '0'" type="text" size="small" @click="beforeGetDataList(scope.row.id)">查看二级类别</el-button>
<el-button type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">{{ $t('update') }}</el-button>
<el-button type="text" size="small" @click="deleteHandle(scope.row.id)">{{ $t('delete') }}</el-button>

Loading…
Cancel
Save