|
@@ -3,7 +3,7 @@ import { REG_SOURCE } from '@/constants';
|
|
import LoginDom from '@/components/Login/Login.vue';
|
|
import LoginDom from '@/components/Login/Login.vue';
|
|
import { mapState } from 'vuex';
|
|
import { mapState } from 'vuex';
|
|
import { initWxJsSdkConfig } from '@/utils/login';
|
|
import { initWxJsSdkConfig } from '@/utils/login';
|
|
-import { getPlatform } from '@/utils/index';
|
|
|
|
|
|
+import { getPlatform,requestInit } from '@/utils/index';
|
|
import { wxToLoginCallback } from '@/utils';
|
|
import { wxToLoginCallback } from '@/utils';
|
|
|
|
|
|
const app = {
|
|
const app = {
|
|
@@ -134,6 +134,7 @@ export default {
|
|
options: newOptions,
|
|
options: newOptions,
|
|
callback: () => {
|
|
callback: () => {
|
|
this.$nextTick(( ) => {
|
|
this.$nextTick(( ) => {
|
|
|
|
+ requestInit();
|
|
this.getParkInfo();
|
|
this.getParkInfo();
|
|
this.$store.commit('SET_IS_INIT', true);
|
|
this.$store.commit('SET_IS_INIT', true);
|
|
})
|
|
})
|
|
@@ -141,6 +142,7 @@ export default {
|
|
});
|
|
});
|
|
});
|
|
});
|
|
} else {
|
|
} else {
|
|
|
|
+ requestInit();
|
|
this.getParkInfo();
|
|
this.getParkInfo();
|
|
}
|
|
}
|
|
});
|
|
});
|