Explorar el Código

feat: h5 platform

gemercheung hace 1 año
padre
commit
88abf942bb
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  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 = '';