From cae110c68654d6741e9469ae46512c26bcaef1c4 Mon Sep 17 00:00:00 2001 From: zdg Date: Fri, 27 Sep 2024 09:16:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/components/common/cForm.vue | 1 - src/renderer/src/components/pdf/index copy.vue | 2 +- src/renderer/src/components/pdf/index.vue | 2 +- src/renderer/src/views/classTask/container/item-dialog.vue | 2 +- src/renderer/src/views/tool/sphere.vue | 4 ++-- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/renderer/src/components/common/cForm.vue b/src/renderer/src/components/common/cForm.vue index c84dbcb..72b1956 100644 --- a/src/renderer/src/components/common/cForm.vue +++ b/src/renderer/src/components/common/cForm.vue @@ -145,7 +145,6 @@ export default { } }, created() { - window.test = this this.slotKeys = Object.keys(this.$slots) }, methods: { diff --git a/src/renderer/src/components/pdf/index copy.vue b/src/renderer/src/components/pdf/index copy.vue index a1c3487..ed17c21 100644 --- a/src/renderer/src/components/pdf/index copy.vue +++ b/src/renderer/src/components/pdf/index copy.vue @@ -285,7 +285,7 @@ onMounted(async () => { canvas2.canvas.setWidth(window.innerWidth / 2 - 100) // canvas2.canvas.isDrawingMode=false canvas1FabricVue.value = canvas2 - window.test = { canvas1, canvas2 } + // window.test = { canvas1, canvas2 } emit('update:numPagesTotal', pdf.numPages) if (props.pdfObj.allPageData.length) { diff --git a/src/renderer/src/components/pdf/index.vue b/src/renderer/src/components/pdf/index.vue index 2ac6582..a4044f4 100644 --- a/src/renderer/src/components/pdf/index.vue +++ b/src/renderer/src/components/pdf/index.vue @@ -294,7 +294,7 @@ onMounted(async () => { canvas2.canvas.setWidth(window.innerWidth / 2 - 100) // canvas2.canvas.isDrawingMode=false canvas1FabricVue.value = canvas2 - window.test = { canvas1, canvas2 } + // window.test = { canvas1, canvas2 } emit('update:numPagesTotal', pdf.numPages) if (props.pdfObj.allPageData.length) { diff --git a/src/renderer/src/views/classTask/container/item-dialog.vue b/src/renderer/src/views/classTask/container/item-dialog.vue index 2d6b3a5..9894716 100644 --- a/src/renderer/src/views/classTask/container/item-dialog.vue +++ b/src/renderer/src/views/classTask/container/item-dialog.vue @@ -234,7 +234,7 @@ const openDialog = (data) => { classWorkAnalysis.activeQuizAnalysisData = [] classWorkAnalysis.row = data - window.test = this + // window.test = this // zdg: 学生列表 const studentArr = data.classworkdatastudentids ? JSON.parse(`[${data.classworkdatastudentids}]`) diff --git a/src/renderer/src/views/tool/sphere.vue b/src/renderer/src/views/tool/sphere.vue index 572e3d4..27a9d92 100644 --- a/src/renderer/src/views/tool/sphere.vue +++ b/src/renderer/src/views/tool/sphere.vue @@ -84,8 +84,8 @@ const btnList = [ // 工具栏按钮列表 // === 页面加载完毕 === onMounted(async() => { if (!electron) return // 浏览器端 - window.test = sessionStore - window.test1 = toolStore + // window.test = sessionStore + // window.test1 = toolStore getClassInfo() // 获取课堂详情 ex3 resetStatus() // 开启重置状态-监听 })