guhongwei 5 years ago
parent
commit
7a0c1420d6
2 changed files with 3 additions and 4 deletions
  1. 1 2
      src/views/live/market/index.vue
  2. 2 2
      vue.config.js

+ 1 - 2
src/views/live/market/index.vue

@@ -265,7 +265,6 @@ export default {
   },
   created() {
     this.search();
-    // this.searchExperts();
   },
   methods: {
     ...product(['query']),
@@ -278,7 +277,7 @@ export default {
       res = await this.query({ skip: 0, limit: 4, totaltype: '2' });
       if (this.$checkRes(res)) this.$set(this, `serviceList`, res.data);
       res = await this.expertQuery({ skip: 0, limit: 4 });
-      console.log(res);
+      if (this.$checkRes(res)) this.$set(this, `expertsList`, res.data);
     },
   },
   filters: {

+ 2 - 2
vue.config.js

@@ -54,13 +54,13 @@ module.exports = {
         // pathRewrite: { '^/api/affairs': '/api' },
       },
       '/api/talent': {
-        target: 'http://10.16.10.72:9008',
+        target: 'http://free.liaoningdoupo.com',
         changeOrigin: true,
         ws: true,
         // pathRewrite: { '^/api/affairs': '/api' },
       },
       '/api/market': {
-        target: 'http://10.16.10.72:9004',
+        target: 'http://free.liaoningdoupo.com',
         changeOrigin: true,
         ws: true,
         // pathRewrite: { '^/api/affairs': '/api' },