mo 1 년 전
부모
커밋
22e6b3af18
3개의 변경된 파일6개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 1
      src/components/timerMeter/components/countdown.tsx
  2. 1 0
      src/components/timerMeter/modals/flipper.vue
  3. 2 2
      src/views/login/components/pwdLogin.tsx

+ 3 - 1
src/components/timerMeter/components/countdown.tsx

@@ -159,7 +159,9 @@ export default defineComponent({
       count.value = 0;
       soundVIdeo.currentTime = 0;
       soundVIdeo.pause();
-      init();
+      setTimeout(()=>{
+        init();
+      },600)
     };
     onMounted(() => {
       nextTick(() => {

+ 1 - 0
src/components/timerMeter/modals/flipper.vue

@@ -46,6 +46,7 @@ export default {
       // if (this.isFlipping) {
       //   return false
       // }
+      console.log(type, front, back,'=====>')
       this.frontTextFromData = front
       this.backTextFromData = back
       // 根据传递过来的type设置翻转方向

+ 2 - 2
src/views/login/components/pwdLogin.tsx

@@ -60,8 +60,8 @@ export default defineComponent({
           const params: FormState = {
             username,
             password,
-            loginType: 'password',
-            grant_type: 'PASSWORD',
+            loginType:'PASSWORD',
+            grant_type: 'password',
             client_id: 'cooleshow-teacher',
             client_secret: 'cooleshow-teacher'
           };