Skip to content

Commit

Permalink
fix:修复清空日志没有提示 (#57)
Browse files Browse the repository at this point in the history
* feat: 增加请求头查询和日志清空功能
  • Loading branch information
nangongchengfeng authored May 18, 2024
1 parent 7cb02f0 commit 2b2ba47
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/views/log/operation-log/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@
@clear="search"
/>
</el-form-item>
<!-- <el-form-item label="请求方式">
<el-input v-model.trim="params.method" clearable placeholder="请求方式" @keyup.enter.native="search"
@clear="search" />
</el-form-item> -->
<el-form-item prop="method" label="请求方式">
<el-select v-model="params.method" placeholder="请选择请求状态" clearable @change="search" @clear="search">
<el-option v-for="item in RequestList" :key="item.value" :label="item.label" :value="item.value" />
Expand Down Expand Up @@ -236,7 +232,9 @@ export default {
}).then(async res => {
this.loading = true
try {
await CleanOperationLog()
await CleanOperationLog().then(res => {
this.judgeResult(res)
})
} finally {
this.loading = false
}
Expand Down

0 comments on commit 2b2ba47

Please sign in to comment.