|
@@ -319,7 +319,11 @@ export default {
|
|
|
mounted() {
|
|
|
window.addEventListener('message', function (e) { // 监听 message 事件
|
|
|
console.log(e);
|
|
|
- this.loginType = 'bind'
|
|
|
+ if(e.data && e.data.code){
|
|
|
+ this.loginType = 'bind'
|
|
|
+ console.log(e.data.code);
|
|
|
+
|
|
|
+ }
|
|
|
});
|
|
|
// this.getLoading();
|
|
|
this.getOrdOidData();
|