瀏覽代碼

首页获取openid调整

wangtao 1 周之前
父節點
當前提交
acf27c5c5d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/pages/index.vue

+ 1 - 1
src/pages/index.vue

@@ -235,7 +235,7 @@ async function init(options) {
     tenantIdChange.value = useStore.tenantId; //切换租户ID
     getTenantList(useStore.userId); //调用获取企业列表方法
   }
-  //#ifdef H5 || MP-WEIXIN
+  //#ifdef H5
   await useStore.GetWxOpenId(2, options); //调用获取微信公众号openId
   //#endif