YY 2 lat temu
rodzic
commit
2a33e136b8
3 zmienionych plików z 30 dodań i 17303 usunięć
  1. 25 17302
      package-lock.json
  2. 1 1
      src/views/selfShop/order/index.vue
  3. 4 0
      vue.config.js

Plik diff jest za duży
+ 25 - 17302
package-lock.json


+ 1 - 1
src/views/selfShop/order/index.vue

@@ -187,7 +187,7 @@ export default {
     toBack() {
       this.view = 'list';
       this.loadings = true;
-      if (this.sales_id) {
+      if (this.$route.query.id) {
         delete this.$route.query.id;
       }
       this.search(this.searchQuery);

+ 4 - 0
vue.config.js

@@ -17,6 +17,10 @@ module.exports = {
   devServer: {
     port: '9001',
     proxy: {
+      '/ws': {
+        target: 'http://broadcast.waityou24.cn', // 127.0.0.1:13003
+        ws: true,
+      },
       '/files': {
         target: 'http://broadcast.waityou24.cn',
       },