|
@@ -25,6 +25,7 @@
|
|
|
<script>
|
|
|
import { Tabbar, TabbarItem } from 'vant'
|
|
|
import { WxConfig } from './utils/wxConfig'
|
|
|
+import { platform } from './utils/platform'
|
|
|
|
|
|
export default {
|
|
|
name: 'App',
|
|
@@ -46,7 +47,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
async created () {
|
|
|
- WxConfig()
|
|
|
+ platform.isWeixin && WxConfig()
|
|
|
await this.$store.dispatch('common/fetchBarList')
|
|
|
},
|
|
|
mounted () {
|