mo 1 rok pred
rodič
commit
350e2dff1e

+ 2 - 1
src/components/layout/index.tsx

@@ -14,6 +14,7 @@ import setTimeImage from './images/setTimeImage.png';
 import dragingBoxIcon from './images/dragingBoxIcon.png';
 import TimerMeter from '../timerMeter';
 import { useRoute } from 'vue-router';
+import { vaildUrl } from '/src/utils/urlUtils';
 export default defineComponent({
   name: 'layoutView',
   setup() {
@@ -223,7 +224,7 @@ export default defineComponent({
           <div
             class={styles.modeWrap}
            >
-              <iframe src="https://test.lexiaoya.cn/metronome/"  scrolling='no'  frameborder="0" width='100%'  height={'650px'} ></iframe>
+              <iframe src={ `${vaildUrl()}/metronome/?id=${new Date().getTime()}`  } scrolling='no'  frameborder="0" width='100%'  height={'650px'} ></iframe>
           </div>
         </NModal>
         <NModal v-model:show={showModalTone.value}>

+ 2 - 1
src/views/home/index.tsx

@@ -48,6 +48,7 @@ import TheEmpty from '/src/components/TheEmpty';
 import { setTabsCaches } from '/src/hooks/use-async';
 import HomeGuide from '/src/custom-plugins/guide-page/home-guide';
 import TimerMeter from '/src/components/timerMeter';
+import { vaildUrl } from '/src/utils/urlUtils';
 export const formatDateToDay = () => {
   const hours = dayjs().hour();
   if (hours < 12) {
@@ -701,7 +702,7 @@ export default defineComponent({
           <div
             class={styles.modeWrap}
            >
-              <iframe src="https://test.lexiaoya.cn/metronome/"  scrolling='no'  frameborder="0" width='100%'  height={'650px'} ></iframe>
+              <iframe src={ `${vaildUrl()}metronome/?id=${new Date().getTime()}`  }  scrolling='no'  frameborder="0" width='100%'  height={'650px'} ></iframe>
           </div>
         </NModal>
 

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

@@ -226,6 +226,10 @@
       color: rgba(0, 0, 0, 0.88);
     }
 
+    .n-data-table-td {
+      padding: 12px 20px;
+    }
+
     .n-data-table-th__title-wrapper {
       &::after {
         content: '';