Compare commits

..

No commits in common. "94da3694a760a13d5064277fbbe26e2de771bb4b" and "c0a15392c4309fb1e1ce5e2023105f96d366a398" have entirely different histories.

View File

@ -41,6 +41,7 @@
</template> </template>
<script> <script>
//
import {reqBaiduToken} from "@/api/baidu/login"; import {reqBaiduToken} from "@/api/baidu/login";
import {mapState} from "vuex"; import {mapState} from "vuex";
import {reqBaiduJudgePrice, reqBaiduOrderCost, reqIsReallyPeople} from "@/api/baidu"; import {reqBaiduJudgePrice, reqBaiduOrderCost, reqIsReallyPeople} from "@/api/baidu";
@ -63,10 +64,10 @@ export default {
this.userid = sessionStorage.getItem('userId') this.userid = sessionStorage.getItem('userId')
reqIsReallyPeople({user_id: this.userid}).then(res => { reqIsReallyPeople({user_id: this.userid}).then(res => {
this.isShowReallyBtn = !res.status; this.isShowReallyBtn = !res.status;
// if (!res.status) { if (!res.status) {
this.isShowWindow = true this.isShowWindow = true
this.isAllShow = true this.isAllShow = true
// } }
}) })
let resultUrlLast = 'https://console.vcp.baidu.com/api/loginvcp/login/securitytoken?' let resultUrlLast = 'https://console.vcp.baidu.com/api/loginvcp/login/securitytoken?'
@ -77,7 +78,7 @@ export default {
this.url = resultUrlLast this.url = resultUrlLast
console.log('iframeurl', resultUrlLast) console.log('iframeurl', resultUrlLast)
this.flag = true this.flag = true
} }
}) })
window.addEventListener('message', this.receiveMessage, false); window.addEventListener('message', this.receiveMessage, false);