| 123456789101112131415161718192021222324252627282930313233343536 |
- <template>
- <view>
- </view>
- </template>
- <script>
- import { getMerchantDetail } from "@/api/merchant";
- export default {
- name: "console",
- data() {
- return {};
- },
- onLoad(props) {
- this.redirectTo();
- },
-
- methods: {
- redirectTo() {
- let shopId = uni.getStorageSync("shopId");
- if (parseInt(shopId) > 0) {
- this.$util.pageTo({
- url: "/admin/home/workbench",
- type: 3
- });
- } else {
- this.$util.pageTo({
- url: "/admin/official/index",
- type: 2
- });
- }
- }
- }
- };
- </script>
- <style lang='scss' scoped>
- </style>
|