diff --git a/ant-design-vue-jeecg/src/views/system/monitor/ApiLogList.vue b/ant-design-vue-jeecg/src/views/system/monitor/ApiLogList.vue index f102895..0c5a985 100644 --- a/ant-design-vue-jeecg/src/views/system/monitor/ApiLogList.vue +++ b/ant-design-vue-jeecg/src/views/system/monitor/ApiLogList.vue @@ -245,6 +245,17 @@ export default { } }, methods: { + searchQuery() { + if (!!this.queryParam.requestBody && this.queryParam.requestBody != '**' && !this.queryParam.apiName) { + this.$message.warning('请选择接口名称!'); + return + } + if (!!this.queryParam.responseBody && this.queryParam.responseBody != '**' && !this.queryParam.apiName) { + this.$message.warning('请选择接口名称!'); + return + } + this.loadData(1, this.value) + }, searchReset() { let that = this; Object.keys(that.queryParam).forEach(function (key) {