lrf %!s(int64=3) %!d(string=hai) anos
pai
achega
1d2b67f91c
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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;