瀏覽代碼

feat: h5 platform

gemercheung 1 年之前
父節點
當前提交
88abf942bb
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/components/chatRoom/index.vue

+ 4 - 1
src/components/chatRoom/index.vue

@@ -266,7 +266,10 @@
   const { isUsingMiniApp } = useMiniApp();
   const { muteVideoLeader } = useRtcSdk();
 
-  const isH5 = browser.getURLParam('platform') === 'h5' || browser.getURLParam('platform') === 'fd';
+  const isH5 =
+    browser.getURLParam('platform') === '4dkankan' ||
+    browser.getURLParam('platform') === 'fd' ||
+    browser.getURLParam('platform') === 'ucenter';
 
   const currentProfileAvatar = computed(() => {
     let url = '';