审计日志功能上传

This commit is contained in:
lizhenhua 2024-07-28 13:19:11 +08:00
parent f89d4023ca
commit bc2c980153
1 changed files with 18 additions and 16 deletions

View File

@ -42,20 +42,22 @@
}) })
}, },
submit(){ submit(){
updateLogSize(Number(this.capacityForm.logCapacity)).then((response) => { let params={
if(response.code==200){ capacity: this.capacityForm.logCapacity
this.$message({ }
showClose: true, updateLogSize(params).then(response => {
message: response.msg, if(response.code==200){
type: 'success', this.$message({
duration: 2000 showClose: true,
}) message: response.msg,
} type: 'success',
}) duration: 2000
})
}
})
}, },
} }
} }
</script> </script>