🎨 优化代码

master
linhaojun 3 years ago
parent 9d919606a7
commit eb2e34067f

@ -282,7 +282,7 @@ export default {
openCron: false,
expression: '',
openView: false,
editOrUpdate: true, // true: false:
editOrUpdate: true,
searchParams: {},
jobGroups: [],
jobs: [],
@ -398,7 +398,6 @@ export default {
},
handleEditOrUpdate() {
if (this.editOrUpdate === true) {
//
this.axios.put('/api/admin/jobs', this.job).then(({ data }) => {
if (data.flag) {
this.$notify.success({

Loading…
Cancel
Save