ソースを参照

fix: 将方法变为async

Jinyao 5 年 前
コミット
ba2ba964a4
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/views/Project/Schedule.vue

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

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