Browse Source

fix: 将方法变为async

Jinyao 5 năm trước cách đây
mục cha
commit
ba2ba964a4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);