From 08b029d0c084c4fd44b7cc58a137730b1a09ba5f Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Thu, 13 Nov 2025 13:55:27 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/components/WebViewPlus.vue | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/components/WebViewPlus.vue b/src/components/WebViewPlus.vue
index 1d54046..d697186 100644
--- a/src/components/WebViewPlus.vue
+++ b/src/components/WebViewPlus.vue
@@ -1,12 +1,20 @@
<template>
<web-view :src="src" @message="viewMessage" :allow="allow"/>
+ <!-- #ifdef WEB -->
+ <TUICallKit/>
+ <!-- #endif WEB -->
</template>
+
<script setup>
+// #ifdef WEB
+import {TUICallKit} from "@trtc/calls-uikit-vue";
+// #endif
const allow = "accelerometer;ambient-light-sensor;autoplay;battery;camera;clipboard-read;clipboard-write;cross-origin-isolated;display-capture;document-domain;encrypted-media;execution-while-not-rendered;execution-while-out-of-viewport;fullscreen;gamepad;geolocation;gyroscope;hid;idle-detection;local-fonts;magnetometer;microphone;midi;payment;picture-in-picture;publickey-credentials-get;screen-wake-lock;serial;speaker-selection;storage-access;sync-xhr;usb;web-share;xr-spatial-tracking"
const src = defineModel("src");
const emit = defineEmits(["webMessage"]);
+
function viewMessage(event) {
messageFun({
data: {
--
Gitblit v1.9.3