kuaifan %!s(int64=5) %!d(string=hai) anos
pai
achega
8e6095cfb9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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});