Commit 1868e629 by 奉斌

反馈页面修改(再改真的吃屎)

parent fc51a8c6
......@@ -39,7 +39,12 @@
import SimpleDrawingBoard from 'simple-drawing-board'
import html2canvas from 'html2canvas'
export default {
props: ['showDialog'],
props: {
showDialog: {
type: Boolean,
required: true
}
},
data() {
return {
feedback: {
......@@ -66,7 +71,7 @@ export default {
async loadLibrary() {
if (typeof html2canvas === 'undefined') {
try {
console.error('html2canvas not import', e.toString())
console.error('html2canvas not import')
} catch (e) {
console.error('html2canvas.min.js is missing', e.toString())
return null
......@@ -100,7 +105,7 @@ export default {
})
.catch(e => {
this.dataLoading = false
console.log(e)
console.log(e.toString())
})
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment