lsc 1 hafta önce
ebeveyn
işleme
e6d8f88504
4 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 0 0
      dist/index.html
  2. 1 1
      dist/report.html
  3. 0 0
      dist/static/js/app.9bd44de6.js
  4. 2 1
      src/permission.js

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/index.html


Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 1
dist/report.html


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/js/app.9bd44de6.js


+ 2 - 1
src/permission.js

@@ -63,7 +63,8 @@ router.beforeEach(async(to, from, next) => {
           const shareCourseId = store.getters.shareCourseId
           if (courseId || testId || shareCourseId) {
             Cookies.set('isWeChat', '1')
-            store.dispatch('user/logout')
+            await store.commit('user/SET_ID', '')
+            await store.dispatch('user/logout')
             next(`/login2?redirect=${to.path}`)
           } else {
             Cookies.set('isWeChat', '2')

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor