Commit 1868e629 by 奉斌

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

parent fc51a8c6
...@@ -39,7 +39,12 @@ ...@@ -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 { ...@@ -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 { ...@@ -100,7 +105,7 @@ export default {
}) })
.catch(e => { .catch(e => {
this.dataLoading = false 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