소스 검색

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 = '';