xcx 4 年 前
コミット
67f10e9411
共有2 個のファイルを変更した1 個の追加3 個の削除を含む
  1. 0
    3
      src/components/common/MainPageContainer/index.vue
  2. 1
    0
      src/pages/index/ShouYe/index.vue

+ 0
- 3
src/components/common/MainPageContainer/index.vue ファイルの表示

@@ -141,15 +141,12 @@ export default {
141 141
     Init () { // 初始化
142 142
       if (this.UserInfo === null) {
143 143
         if (window.localStorage.niucaiusername && window.localStorage.niucaiuserpassword) {
144
-          console.log('登录-------------------')
145 144
           this.SignIn({ data: { password: md5(window.localStorage.niucaiuserpassword), userName: window.localStorage.niucaiusername } }).then((res) => { // 登录
146
-            console.log('登录成功-------------------')
147 145
             if (this.UserInfo === null) {
148 146
               this.$router.push({ name: 'SignIn' })
149 147
             } else {
150 148
               this.GetFootballKeys() // 获取足彩相关字典
151 149
               this.GetAllLotteryType({ queryData: { pageNum: 1, pageSize: 1000 } })
152
-              console.log('触发页面请求-------------------')
153 150
               this.$emit('UserInfoChange')
154 151
             }
155 152
           }).catch(() => {

+ 1
- 0
src/pages/index/ShouYe/index.vue ファイルの表示

@@ -155,6 +155,7 @@ export default {
155 155
       }
156 156
     },
157 157
     Init (done = () => { }) { // 初始化
158
+      console.log(`Jwt is ${window.localStorage.Jwt}`, `-----------------------`)
158 159
       this.EmptyBanner()
159 160
       this.GetBanner({ queryData: { pageNum: 1, pageSize: 10, status: 1, adType: 'app-index-banner' } }).then(() => { // 获取banner
160 161
         this.GetNewstLotteryRes().then(() => { // 获取最新数字彩开奖结果列表