去掉打印

This commit is contained in:
zdg 2024-09-27 09:16:42 +08:00
parent 40e660f44a
commit cae110c686
5 changed files with 5 additions and 6 deletions

View File

@ -145,7 +145,6 @@ export default {
} }
}, },
created() { created() {
window.test = this
this.slotKeys = Object.keys(this.$slots) this.slotKeys = Object.keys(this.$slots)
}, },
methods: { methods: {

View File

@ -285,7 +285,7 @@ onMounted(async () => {
canvas2.canvas.setWidth(window.innerWidth / 2 - 100) canvas2.canvas.setWidth(window.innerWidth / 2 - 100)
// canvas2.canvas.isDrawingMode=false // canvas2.canvas.isDrawingMode=false
canvas1FabricVue.value = canvas2 canvas1FabricVue.value = canvas2
window.test = { canvas1, canvas2 } // window.test = { canvas1, canvas2 }
emit('update:numPagesTotal', pdf.numPages) emit('update:numPagesTotal', pdf.numPages)
if (props.pdfObj.allPageData.length) { if (props.pdfObj.allPageData.length) {

View File

@ -294,7 +294,7 @@ onMounted(async () => {
canvas2.canvas.setWidth(window.innerWidth / 2 - 100) canvas2.canvas.setWidth(window.innerWidth / 2 - 100)
// canvas2.canvas.isDrawingMode=false // canvas2.canvas.isDrawingMode=false
canvas1FabricVue.value = canvas2 canvas1FabricVue.value = canvas2
window.test = { canvas1, canvas2 } // window.test = { canvas1, canvas2 }
emit('update:numPagesTotal', pdf.numPages) emit('update:numPagesTotal', pdf.numPages)
if (props.pdfObj.allPageData.length) { if (props.pdfObj.allPageData.length) {

View File

@ -234,7 +234,7 @@ const openDialog = (data) => {
classWorkAnalysis.activeQuizAnalysisData = [] classWorkAnalysis.activeQuizAnalysisData = []
classWorkAnalysis.row = data classWorkAnalysis.row = data
window.test = this // window.test = this
// zdg: // zdg:
const studentArr = data.classworkdatastudentids const studentArr = data.classworkdatastudentids
? JSON.parse(`[${data.classworkdatastudentids}]`) ? JSON.parse(`[${data.classworkdatastudentids}]`)

View File

@ -84,8 +84,8 @@ const btnList = [ // 工具栏按钮列表
// === === // === ===
onMounted(async() => { onMounted(async() => {
if (!electron) return // if (!electron) return //
window.test = sessionStore // window.test = sessionStore
window.test1 = toolStore // window.test1 = toolStore
getClassInfo() // ex3 getClassInfo() // ex3
resetStatus() // - resetStatus() // -
}) })