反馈页面修改(再改真的吃屎)
This commit is contained in:
@@ -39,7 +39,12 @@
|
|||||||
import SimpleDrawingBoard from 'simple-drawing-board'
|
import SimpleDrawingBoard from 'simple-drawing-board'
|
||||||
import html2canvas from 'html2canvas'
|
import html2canvas from 'html2canvas'
|
||||||
export default {
|
export default {
|
||||||
props: ['showDialog'],
|
props: {
|
||||||
|
showDialog: {
|
||||||
|
type: Boolean,
|
||||||
|
required: true
|
||||||
|
}
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
feedback: {
|
feedback: {
|
||||||
@@ -66,7 +71,7 @@ export default {
|
|||||||
async loadLibrary() {
|
async loadLibrary() {
|
||||||
if (typeof html2canvas === 'undefined') {
|
if (typeof html2canvas === 'undefined') {
|
||||||
try {
|
try {
|
||||||
console.error('html2canvas not import', e.toString())
|
console.error('html2canvas not import')
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error('html2canvas.min.js is missing', e.toString())
|
console.error('html2canvas.min.js is missing', e.toString())
|
||||||
return null
|
return null
|
||||||
@@ -100,7 +105,7 @@ export default {
|
|||||||
})
|
})
|
||||||
.catch(e => {
|
.catch(e => {
|
||||||
this.dataLoading = false
|
this.dataLoading = false
|
||||||
console.log(e)
|
console.log(e.toString())
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user