linwenxin преди 6 месеца
родител
ревизия
9204392de1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/setting/account/index.vue

+ 1 - 1
src/views/setting/account/index.vue

@@ -103,7 +103,7 @@
                 <el-table-column align="center" label="操作" min-width="160">
                   <template slot-scope="scope">
                     <el-popconfirm
-                      v-if="scope.row.status"
+                      v-if="scope.row.status && scope.row.adminUserId !== userData.adminUserId"
                       style="margin-right: 10px"
                       title="确定冻结吗?"
                       @confirm="changeStatus(scope.row.adminUserId, 0)"