添加视频模块
This commit is contained in:
@@ -94,6 +94,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { imDataEndLive } from '@/api/tui-kit'
|
||||
import { onLoad } from '@dcloudio/uni-app';
|
||||
import { ref, onMounted, computed, onUnmounted, watch, nextTick } from 'vue';
|
||||
import UserInfoPanel from '@/uni_modules/tuikit-atomic-x/components/LiveStreamView/UserInfoPanel.nvue';
|
||||
@@ -434,9 +435,11 @@
|
||||
if ((uni.$localGuestStatus === 'CONNECTED' && index === 1) || (uni.$localGuestStatus !== 'CONNECTED' && index === 0)) {
|
||||
leaveLive({
|
||||
success: () => {
|
||||
// imDataEndLive(liveID.value)
|
||||
|
||||
uni.$liveID = ''
|
||||
uni.redirectTo({
|
||||
url: `/pages/livelist/index`,
|
||||
url: `/pages/discover/livelist/index`,
|
||||
delta: 1,
|
||||
animationType: 'pop-out',
|
||||
animationDuration: 300,
|
||||
|
||||
Reference in New Issue
Block a user