diff --git a/frontend/.env.development b/frontend/.env.development
index 18f52d3..0642f8e 100644
--- a/frontend/.env.development
+++ b/frontend/.env.development
@@ -24,4 +24,5 @@ VITE_PROXY=[["/api","http://127.0.0.1:18093/"]]
#VITE_PROXY=[["/api","http://192.168.2.125:18092/"]]
# VITE_PROXY=[["/api","http://192.168.1.138:8080/"]]张文
# 开启激活验证
+VITE_IS_SHOW_RAW_DATA=false
VITE_ACTIVATE_OPEN=false
\ No newline at end of file
diff --git a/frontend/.env.production b/frontend/.env.production
index b368087..974f1c1 100644
--- a/frontend/.env.production
+++ b/frontend/.env.production
@@ -25,4 +25,5 @@ VITE_PWA=true
#VITE_API_URL="/api" # 打包时用
VITE_API_URL="http://127.0.0.1:18093/"
# 开启激活验证
+VITE_IS_SHOW_RAW_DATA=false
VITE_ACTIVATE_OPEN=false
\ No newline at end of file
diff --git a/frontend/src/utils/resourceManageAutoplay.ts b/frontend/src/utils/resourceManageAutoplay.ts
index 1ba3595..49f6175 100644
--- a/frontend/src/utils/resourceManageAutoplay.ts
+++ b/frontend/src/utils/resourceManageAutoplay.ts
@@ -4,6 +4,8 @@ export const requestResourceManageAutoplayFirst = () => {
shouldAutoplayFirstVideo = true
}
+export const hasPendingResourceManageAutoplayFirst = () => shouldAutoplayFirstVideo
+
export const consumeResourceManageAutoplayFirst = () => {
if (!shouldAutoplayFirstVideo) return false
shouldAutoplayFirstVideo = false
diff --git a/frontend/src/views/home/components/tree.vue b/frontend/src/views/home/components/tree.vue
index a11f0d6..a1b838e 100644
--- a/frontend/src/views/home/components/tree.vue
+++ b/frontend/src/views/home/components/tree.vue
@@ -42,7 +42,7 @@
{{ node.label }}
import { type Plan } from '@/api/plan/interface'
import { List, Menu, PieChart, Platform } from '@element-plus/icons-vue'
-import { nextTick, onMounted, ref, watch } from 'vue'
+import { computed, nextTick, onMounted, ref, watch } from 'vue'
import { useRouter } from 'vue-router'
import { useCheckStore } from '@/stores/modules/check'
import { ElTooltip } from 'element-plus'
@@ -91,6 +91,7 @@ const filterText = ref('')
const treeRef = ref()
const data: any = ref([])
const modeStore = useModeStore()
+const isCompareMode = computed(() => modeStore.currentMode === '比对式')
const dictStore = useDictStore()
const defaultProps = {
diff --git a/frontend/src/views/home/tabs/dashboard.vue b/frontend/src/views/home/tabs/dashboard.vue
index c41194c..8a06fed 100644
--- a/frontend/src/views/home/tabs/dashboard.vue
+++ b/frontend/src/views/home/tabs/dashboard.vue
@@ -464,9 +464,11 @@ const getPieData = async (id: string) => {
planName.value = '所选计划:'
}
- pieRef1.value.init()
- pieRef2.value.init()
- pieRef3.value.init()
+ if (pieRef1.value && pieRef2.value && pieRef3.value) {
+ pieRef1.value.init()
+ pieRef2.value.init()
+ pieRef3.value.init()
+ }
}
/**
* 初始化树组件数据
diff --git a/frontend/src/views/resourceManage/index.vue b/frontend/src/views/resourceManage/index.vue
index 2d51d1b..a3954b3 100644
--- a/frontend/src/views/resourceManage/index.vue
+++ b/frontend/src/views/resourceManage/index.vue
@@ -33,13 +33,16 @@