update“

This commit is contained in:
2022-08-24 16:29:59 +08:00
parent 626e543fa5
commit 9df5f3b336
5 changed files with 5 additions and 5 deletions

View File

@@ -85,7 +85,7 @@ export default {
if (!valid) {
return false
}
this.$http[!this.dataForm.id ? 'post' : 'put']('/sys/schedule', this.dataForm).then(({ data: res }) => {
this.$http[!this.dataForm.id ? 'post' : 'put'](this.$http.adornUrl('/sys/schedule'), this.dataForm).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}