isDOM方法不存在
zhujia1109 opened this issue · comments
Error in event handler for "click": "TypeError: this.isDOM is not a function"
found in
--->
at src/pages/form/engineeringEvent/read.vue
at src/App.vue
[Vue warn]: Error in event handler for "click": "TypeError: this.isDom is not a function"
doPrintVue () {
var newstr = document.getElementsByClassName('printOrder-data')[0].innerHTML
document.body.innerHTML = newstr
window.print()
// 重新加载页面,以刷新数据
window.location.reload()
}
参考:
https://segmentfault.com/q/1010000011527757
https://codepen.io/joseluisq/pen/VzRpGb
TypeError: this.isDOM is not a function
at new Print (print.js?7fde:13)
现在我也是遇到了这个问题....求大神支招呀.....
同问