lrf 3 년 전
부모
커밋
1d2b67f91c
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/views/project/table.vue

+ 1 - 2
src/views/project/table.vue

@@ -85,8 +85,6 @@ export default defineComponent({
   },
   methods: {
     async toSearch({ ...condition } = {}) {
-      console.log('in function:');
-      console.log(this.project);
       await this.query({ ...condition, project: _.get(this.project, 'id') });
     },
     async toEdit(id) {
@@ -128,6 +126,7 @@ export default defineComponent({
             this.view = 'table';
             await this.toSearch();
           }
+          this.toReturn();
         } else {
           console.log('error submit!!');
           return false;