审计日志功能上传

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(){
updateLogSize(Number(this.capacityForm.logCapacity)).then((response) => {
if(response.code==200){
this.$message({
showClose: true,
message: response.msg,
type: 'success',
duration: 2000
})
}
})
let params={
capacity: this.capacityForm.logCapacity
}
updateLogSize(params).then(response => {
if(response.code==200){
this.$message({
showClose: true,
message: response.msg,
type: 'success',
duration: 2000
})
}
})
},
}
}
</script>