kuaifan 5 年之前
父节点
当前提交
8e6095cfb9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      resources/assets/js/main/mixins/task.js

+ 1 - 1
resources/assets/js/main/mixins/task.js

@@ -22,7 +22,7 @@ export default {
                 success: (res) => {
                     if (res.ret === 1) {
                         this.$Message.success(res.msg);
-                        typeof callback === "function" && callback(res.date);
+                        typeof callback === "function" && callback(res.data);
                     } else {
                         this.$set(taskDetail, 'complete', !complete);
                         this.$Modal.error({title: this.$L('温馨提示'), content: res.msg});