فهرست منبع

更新前端代码

sr 4 سال پیش
والد
کامیت
048ecd8255
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 2 2
      ruoyi-ui/src/settings.js
  2. 2 2
      ruoyi-ui/vue.config.js

+ 2 - 2
ruoyi-ui/src/settings.js

@@ -28,6 +28,6 @@ module.exports = {
    * If you want to also use it in dev, you can pass ['production', 'development']
    */
   errorLog: 'production',
-   apiUrl: 'http://192.168.101.11:8080'
-  //apiUrl: 'http://36.7.89.102:8080'
+  // apiUrl: 'http://192.168.101.11:8080'
+  apiUrl: 'http://36.7.89.102:8080'
 }

+ 2 - 2
ruoyi-ui/vue.config.js

@@ -35,8 +35,8 @@ module.exports = {
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        //target: `http://36.7.89.102:8080`,
-         target: `http://192.168.101.11:8080`,
+        target: `http://36.7.89.102:8080`,
+        // target: `http://192.168.101.11:8080`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''