diff --git a/src/cool/modules/base/views/log.vue b/src/cool/modules/base/views/log.vue index 73b4ebe..4e66774 100644 --- a/src/cool/modules/base/views/log.vue +++ b/src/cool/modules/base/views/log.vue @@ -117,7 +117,7 @@ export default defineComponent({ // 保存天数 function saveDay() { - service.base.sys.log.setKeep(day.value).then(() => { + service.base.sys.log.setKeep({ value: day.value }).then(() => { ElMessage.success("保存成功"); }); }