瀏覽代碼

Merge branch 'deploy_baobiao' of http://git.chelingzhu.com/chelingzhu-web/zxyj-admin-html into deploy_baobiao

1004749546@qq.com 4 年之前
父節點
當前提交
5a799922c2
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      public/index.html
  2. 2 2
      vue.config.js

+ 1 - 1
public/index.html

@@ -28,6 +28,6 @@
     <script type="text/javascript" src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
     <% } %>
     <!-- built files will be auto injected -->
+    <script charset="utf-8" src="https://map.qq.com/api/gljs?v=1.exp&key=EZHBZ-FWHWJ-MF4FO-K6DJF-4YNGQ-PJBYF"></script>
   </body>
 </html>
-<script charset="utf-8" src="https://map.qq.com/api/gljs?v=1.exp&key=EZHBZ-FWHWJ-MF4FO-K6DJF-4YNGQ-PJBYF"></script>

+ 2 - 2
vue.config.js

@@ -108,8 +108,8 @@ const vueConfig = {
     // If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
     proxy: {
       '/api': {
-        target: 'http://192.168.16.149:8301/gc-admin/',
-        // target: 'https://lese.test.sxzxyj.net/gc-admin/',
+        // target: 'http://192.168.16.149:8301/gc-admin/',
+        target: 'https://lese.test.sxzxyj.net/gc-admin/',
         ws: false,
         changeOrigin: true,
         pathRewrite: {