Explorar o código

fix: 将方法变为async

Jinyao %!s(int64=5) %!d(string=hai) anos
pai
achega
ba2ba964a4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/Project/Schedule.vue

+ 1 - 1
src/views/Project/Schedule.vue

@@ -53,7 +53,7 @@ export default {
     };
   },
   methods: {
-    handleTreeChange(msg) {
+    async handleTreeChange(msg) {
       // TODO: 补充API定义
       const { type, id } = msg;
       await RequirementAPI[type](id);