mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 03:52:50 +00:00
fix: 前端取消会议屏幕常亮
This commit is contained in:
parent
1df0a1dfb4
commit
e27ea9e117
@ -117,7 +117,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {Store} from "le5le-store";
|
import {Store} from "le5le-store";
|
||||||
import { mapState } from 'vuex'
|
import {mapState} from 'vuex'
|
||||||
import MeetingPlayer from "./MeetingPlayer";
|
import MeetingPlayer from "./MeetingPlayer";
|
||||||
import DragBallComponent from "../../../components/DragBallComponent";
|
import DragBallComponent from "../../../components/DragBallComponent";
|
||||||
import UserSelect from "../../../components/UserSelect.vue";
|
import UserSelect from "../../../components/UserSelect.vue";
|
||||||
@ -173,19 +173,12 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
meetingShow(val) {
|
|
||||||
if (val) {
|
|
||||||
$A.eeuiAppKeepScreenOn()
|
|
||||||
} else {
|
|
||||||
$A.eeuiAppKeepScreenOff()
|
|
||||||
}
|
|
||||||
},
|
|
||||||
meetingMini(val) {
|
meetingMini(val) {
|
||||||
if (!val) {
|
if (!val) {
|
||||||
this.$refs.meetingModal.modalIndex = this.$refs.meetingModal.handleGetModalIndex()
|
this.$refs.meetingModal.modalIndex = this.$refs.meetingModal.handleGetModalIndex()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
meetingWindow : {
|
meetingWindow: {
|
||||||
handler(val) {
|
handler(val) {
|
||||||
switch (val.type) {
|
switch (val.type) {
|
||||||
case 'add':
|
case 'add':
|
||||||
@ -285,7 +278,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}else{
|
} else {
|
||||||
$A.loadScript('js/AgoraRTC_N-4.17.0.js').then(_ => {
|
$A.loadScript('js/AgoraRTC_N-4.17.0.js').then(_ => {
|
||||||
this.join(data)
|
this.join(data)
|
||||||
}).catch(_ => {
|
}).catch(_ => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user