diff --git a/src/components/table/administration/UserTable.vue b/src/components/table/administration/UserTable.vue index eb2e33f1..3efec224 100644 --- a/src/components/table/administration/UserTable.vue +++ b/src/components/table/administration/UserTable.vue @@ -55,7 +55,7 @@ v-if="scope.row.id" v-model="scope.row.status" active-value="1" - :disabled="(scope.row.username === loginName) || (scope.row.username==='admin' && scope.row.id===1) " + :disabled="(scope.row.username === loginName) || (scope.row.username==='admin' && scope.row.id===1) || scope.row.buildIn === 1" inactive-value="0" @change="()=>{statusChange(scope.row)}"> diff --git a/src/views/detections/Index.vue b/src/views/detections/Index.vue index 156e109b..afd38db5 100644 --- a/src/views/detections/Index.vue +++ b/src/views/detections/Index.vue @@ -4,10 +4,10 @@