Browse Source

管理后台-用户中心:角色设置

panyong 3 years ago
parent
commit
b1686201de
1 changed files with 1 additions and 2 deletions
  1. 1 2
      htmldev/manage/src/views/ums/customer/index.vue

+ 1 - 2
htmldev/manage/src/views/ums/customer/index.vue

@@ -54,8 +54,7 @@
       <el-table-column label="最近一次登录时间" prop="user_login_at" width="160"></el-table-column>
       <el-table-column label="操作" fixed="right" width="140">
         <template slot-scope="scope">
-          <!--todo 设置权限-->
-          <el-button type="text" @click="edit(scope.row)">编辑</el-button>
+          <el-button type="text" v-permission="'ums_customer_edit'" @click="edit(scope.row)">编辑</el-button>
           <el-button type="text" v-permission="'ums_customer_check'"
                      @click="$router.push({name: 'FmsCheck', query: {user_id: scope.row.id }})">消费记录
           </el-button>