Explorar el Código

fix: 将方法变为async

Jinyao hace 5 años
padre
commit
ba2ba964a4
Se han modificado 1 ficheros con 1 adiciones y 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);