Browse Source

PC端-内容管理-推荐按钮增加菜单权限

origin/feature/monitoring
liuchuang 4 years ago
parent
commit
15d0a863d1
  1. 2
      src/views/modules/news/notice.vue

2
src/views/modules/news/notice.vue

@ -90,7 +90,7 @@
align="center"
width="150">
<template slot-scope="scope">
<el-button type="text" size="small" @click="handleIsTop(scope.row)" :disabled="(scope.row.noticeReleaseState=='0'?true:false)">
<el-button v-if="$hasPermission('news:notice:recommend')" type="text" size="small" @click="handleIsTop(scope.row)" :disabled="(scope.row.noticeReleaseState=='0'?true:false)">
{{scope.row.topFlag=='0'?'推荐':'取消推荐'}}
</el-button>
<el-button type="text" size="small" @click="handleIsUpDown(scope.row)" :disabled="(scope.row.noticeReleaseState=='0'?true:false)">

Loading…
Cancel
Save