|
@@ -134,7 +134,7 @@
|
|
|
<script>
|
|
|
import { mapGetters, mapActions } from 'vuex';
|
|
|
import { websocket } from '@/common/socket.js';
|
|
|
-import {socket_url} from '@/common/request.js';
|
|
|
+import { socket_url, version} from '@/common/request.js';
|
|
|
export default {
|
|
|
components: {},
|
|
|
data() {
|
|
@@ -214,7 +214,9 @@ export default {
|
|
|
uni.removeStorageSync('updateHome'); //消费首页刷新事件
|
|
|
}
|
|
|
|
|
|
- this.appCommonConfig();
|
|
|
+ this.appCommonConfig({
|
|
|
+ version
|
|
|
+ });
|
|
|
|
|
|
if(this.$method.isLogin()){
|
|
|
this.$store.state.allowLoading = false;
|