Explorar o código

Merge branch '新增网页智慧商城入口' into uat

yanym hai 1 mes
pai
achega
0999476b42
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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';