<script>
import store from './store';
export default {
  async onLaunch() {
    store.dispatch('getAppSystemInfo');
    // if (store.getters.scope === 'CUSTOMER') {
    //   uni.switchTab({
    //     url: '/pages/client/tabBar/home/index',
    //   });
    // } else {
    //   uni.navigateTo({   
    //     url: '/pages/merchant/order/index',
    //   });
    // }
  },
  mounted() {},
}; 
</script>

<style lang="scss">
@import 'uview-ui/index.scss';
@import 'design/index.scss';
@import url('design/common.css');

page {
  background-color: #f9f9f9;
  color: $uni-text-color;
  font-size: $uni-font-size-base;
}
</style>
