coys 2 năm trước cách đây
mục cha
commit
6377577ce1

+ 1 - 1
src/config/env.development.js

@@ -2,7 +2,7 @@
 module.exports = {
   title: 'soc-app-dev',
   baseUrl: 'http://10.87.10.55:8080', // 本地图片地址
-  baseApi: '/jwx', // 本地api请求地址,注意:如果你使用了代理,请设置成'/'
+  baseApi: '/dev', // 本地api请求地址,注意:如果你使用了代理,请设置成'/'
   APPID: 'xxx',
   APPSECRET: 'xxx',
   $cdn: 'https://www.sunniejs.cn/static'  //静态资源

+ 3 - 0
src/views/menu/rehearsalTask/index.vue

@@ -247,6 +247,9 @@ export default {
           console.log(list.id, 'ssss')
           timefalg = true
         }
+        if(!list.planId){
+          timefalg = true
+        }
       }
       if (list.userList && list.userList.length > 0) {
         list.userList.forEach(item => {

+ 3 - 0
src/views/menu/training/index.vue

@@ -235,6 +235,9 @@ export default {
           console.log(list.id, 'ssss')
           timefalg = true
         }
+        if(!list.planId){
+          timefalg = true
+        }
       }
       if (list.userList && list.userList.length > 0) {
         list.userList.forEach(item => {

+ 2 - 2
vue.config.js

@@ -110,8 +110,8 @@ module.exports = defineConfig({
         }
       },
       '/dev': {
-        target: "http://10.87.10.55:8080",
-        // target: "http://10.87.10.91:8080",
+        // target: "http://10.87.10.55:8080",
+        target: "http://10.87.10.91:8080",
         // target: "http://10.87.11.173:8080",
         // ws:true,
         changOrigin:true,