Explorar o código

登录获取项目名称

duy hai 1 ano
pai
achega
b7e08e70d9
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      src/views/using/stats.vue

+ 8 - 0
src/views/using/stats.vue

@@ -112,6 +112,14 @@ watch(() => [
     getallArchiveFileSize()
     gettableData()
 })
+//深度监听
+watch(() => [
+useAppState.getProjectInfo,
+], ([ProjectInfo]) => {
+   projectInfo.value = ProjectInfo
+}, {
+    deep: true,
+})
 //原生、数字化文件数量 图表配置
 const nativeChartRef = ref(null)
 const nativeChartConfig = {