|
@@ -1,6 +1,7 @@
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
import { computed, onUnmounted, ref, watch } from 'vue';
|
|
import { computed, onUnmounted, ref, watch } from 'vue';
|
|
import { useRouter } from 'vue-router';
|
|
import { useRouter } from 'vue-router';
|
|
|
|
+import { useFullscreen } from '@vueuse/core';
|
|
import { Modal } from 'ant-design-vue';
|
|
import { Modal } from 'ant-design-vue';
|
|
|
|
|
|
import SvgIcon from '@/components/SvgIcon.vue';
|
|
import SvgIcon from '@/components/SvgIcon.vue';
|
|
@@ -171,6 +172,7 @@ const handleStartStopSwitch = () => {
|
|
};
|
|
};
|
|
|
|
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
|
|
+const { exit } = useFullscreen();
|
|
|
|
|
|
const goDevWorkStatus = () => {
|
|
const goDevWorkStatus = () => {
|
|
if (!props.info?.deviceQueryVo) {
|
|
if (!props.info?.deviceQueryVo) {
|
|
@@ -178,6 +180,7 @@ const goDevWorkStatus = () => {
|
|
}
|
|
}
|
|
|
|
|
|
const { id, groupId, deviceType } = props.info.deviceQueryVo;
|
|
const { id, groupId, deviceType } = props.info.deviceQueryVo;
|
|
|
|
+ exit();
|
|
|
|
|
|
router.push({
|
|
router.push({
|
|
path: `/ai-smart-ctrl/device-group/${groupId}`,
|
|
path: `/ai-smart-ctrl/device-group/${groupId}`,
|