YY 2 anos atrás
pai
commit
8f99a8e630
1 arquivos alterados com 1 adições e 4 exclusões
  1. 1 4
      src/views/selfShop/sales/index.vue

+ 1 - 4
src/views/selfShop/sales/index.vue

@@ -112,7 +112,6 @@ export default {
       this.loadings = false;
     },
     toExam({ data }) {
-      console.log(data);
       this.$set(this, `id`, data._id);
       this.$set(this, `view`, 'order');
     },
@@ -122,9 +121,7 @@ export default {
     toBack() {
       this.view = 'list';
       this.loadings = true;
-      if (this.sales_id) {
-        delete this.$route.query.id;
-      }
+      if (this.sales_id) delete this.$route.query.id;
       this.search(this.searchQuery);
     },
     toClose() {