lex 1 year ago
parent
commit
e19154896e

+ 1 - 1
src/views/attend-class/component/rhythm-modal/index.tsx

@@ -25,7 +25,7 @@ export default defineComponent({
     }/classroom-app/#/tempo-practice?v=${+new Date()}&platform=modal&dataJson=${
       props.item.dataJson
     }&Authorization=${userStore.getToken}&win=pc`;
-    if (/(localhost|192)/.test(location.host)) {
+    if (/(localhost)/.test(location.host)) {
       src = `http://localhost:9002/#/tempo-practice?v=${+new Date()}&platform=modal&dataJson=${
         props.item.dataJson
       }&Authorization=${userStore.getToken}&win=pc`;

+ 2 - 1
src/views/attend-class/index.tsx

@@ -1240,7 +1240,8 @@ export default defineComponent({
         id: 4
       }
     ]);
-    const rightColumnShow = ref(true);
+    // 默认收起菜单
+    const rightColumnShow = ref(false);
 
     // 右边栏操作
     const operateRightBtn = async (id: number) => {