Browse Source

feat: h5 platform

gemercheung 1 năm trước cách đây
mục cha
commit
88abf942bb
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  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 = '';