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 @@
{{$t('overall.detections')}}
-
+ { if (response.code === 200) { - this.listData = response.data + this.listData = response.data.result } else { this.listData = [] console.error(response.message) diff --git a/src/views/setting/KnowledgeBaseForm.vue b/src/views/setting/KnowledgeBaseForm.vue index 8d213563..5e306f46 100644 --- a/src/views/setting/KnowledgeBaseForm.vue +++ b/src/views/setting/KnowledgeBaseForm.vue @@ -49,7 +49,6 @@ :file-list="fileList" :on-change="fileChange" :on-success="uploadSuccess" - :on-remove="onRemove" :before-upload="beforeUpload" :on-progress="onUpload" :on-error="uploadError"