Parcourir la source

fix: 将方法变为async

Jinyao il y a 5 ans
Parent
commit
ba2ba964a4
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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);