添加了弹框
This commit is contained in:
parent
577936d62e
commit
925afb68b8
@ -155,9 +155,21 @@ function setBtnClickFuc() {
|
||||
);
|
||||
//logout
|
||||
$('#logout-btn').on('click', () => {
|
||||
// window.location.hash='edit'
|
||||
// console.log(window.location.hash)
|
||||
var x;
|
||||
var r=confirm("您确认关闭吗?");
|
||||
if (r==true){
|
||||
leave();
|
||||
$('#room-root').hide();
|
||||
$('#login-root').show();
|
||||
}
|
||||
else{
|
||||
x="你按下了\"取消\"按钮!";
|
||||
}
|
||||
// leave();
|
||||
// $('#room-root').hide();
|
||||
// $('#login-root').show();
|
||||
});
|
||||
//switch main video
|
||||
$('#main-video').on('click', () => {
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<iframe style="width:100%;height: 100%" :src="url" frameborder="0"></iframe>
|
||||
<iframe id="iframe" style="width:100%;height: 100%" :src="url" frameborder="0"></iframe>
|
||||
</template>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<script lang="ts">
|
||||
import { getliveinfo } from '@/api';
|
||||
import store from '@/store';
|
||||
import { defineComponent, ref } from 'vue';
|
||||
import { defineComponent, onMounted, ref, watch } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user