From 56d3f8396ce1fa3ea9cf439fddd6528a91e5de7f Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期五, 21 八月 2020 12:44:54 +0800
Subject: [PATCH] 场景配置默认参数相关逻辑调整

---
 vue.config.js |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/vue.config.js b/vue.config.js
index 7ca0367..1d5f2b6 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -7,7 +7,7 @@
   pages[chunk] = {
     entry: path,
     template: 'public/index.html',
-    title: chunk,
+    title: chunk=='desktop/index'?'SmartAI':chunk,
     chunks: ['chunk-vendors', 'chunk-common', chunk]
   }
   if (chunk != 'index') {
@@ -47,6 +47,13 @@
         target: 'http://192.168.20.10:7003',
         // ws: true,
         changeOrigin: true,
+      },      
+      "/api-f": {
+        //target: "http://bsic.asuscomm.com:7003", // 澶栫綉鏄犲皠鍦板潃
+        // target: "http://222.128.87.51:8000", // 鐩爣浠g悊鎺ュ彛鍦板潃
+        target: 'http://192.168.20.10:8011',
+        // secure: false,
+        changeOrigin: true
       },
       "/api": {
         //target: "http://bsic.asuscomm.com:7003", // 澶栫綉鏄犲皠鍦板潃

--
Gitblit v1.8.0