Ver Fonte

Merge branch 'iteration-20241028-member' into jenkins

lex-xin há 2 meses atrás
pai
commit
a0b7582314

+ 4 - 0
src/views/courseList/index.module.less

@@ -97,6 +97,7 @@
     cursor: pointer;
     .iconSearch {
       // width: 20px;
+      flex-shrink: 0;
       margin-right: 5px;
       height: 12px;
       // /deep/.van-icon__image {
@@ -104,6 +105,9 @@
       //   vertical-align: middle;
       // }
     }
+    span {
+      flex-shrink: 0;
+    }
   }
 }
 

+ 2 - 3
src/views/courseListSearch/index.tsx

@@ -146,10 +146,8 @@ export default defineComponent({
           });
           const firstItem = formatSelectFirstChild(res.data)
           let list = filterPointList(res.data)
-          list = selectFirstChild(list, firstItem.parentData?.ids || [])
+          list = selectFirstChild(list, firstItem?.parentData?.ids || [])
           data.list = list;
-
-          console.log(list, 'list')
           
           list.forEach((item: any) => {
             if(item.id === firstItem.parentData?.ids[0]) {
@@ -160,6 +158,7 @@ export default defineComponent({
         }
       } catch (error) {
         //
+        console.log(error, 'error');
       }
       data.loading = false;
     };

+ 1 - 1
vite.config.ts

@@ -14,7 +14,7 @@ function resolve(dir: string) {
 }
 // https://vitejs.dev/config/
 // https://github.com/vitejs/vite/issues/1930 .env
-const proxyUrl = 'https://test.gym.lexiaoya.cn';
+const proxyUrl = 'https://dev.gym.lexiaoya.cn';
 export default defineConfig({
   base: './',
   plugins: [