Parcourir la source

增加网页智慧商城入口

yanym il y a 1 mois
Parent
commit
0282b692ba
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      src/views/AIDesign/index.vue

+ 2 - 0
src/views/AIDesign/index.vue

@@ -93,11 +93,13 @@ declare let wx: any;
 @Component
 export default class extends Vue {
   private currentTab = 'outside';
+    private agentFrom = '';
   // 入口新判断
   created() {
     getWxconfig();
     this.loginMode = window.localStorage.getItem("loginMode") || 'codeLogin';
     const agentFrom = window.localStorage.getItem('agentFrom');
+    this.agentFrom = agentFrom;
     // 经销商随身邦,好邦手进去,默认在内墙空间;服务商进去,默认外墙空间
     if (agentFrom === 'ssb' || agentFrom === 'hbs') {
       this.currentTab = 'inside';