修改文档详情显示乱码的问题
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
let watermark = {}
|
||||
let setWatermark = (str) => {
|
||||
console.log(str)
|
||||
let id = Date.parse(new Date())
|
||||
if (document.getElementById(id) !== null) {
|
||||
document.body.removeChild(document.getElementById(id))
|
||||
@@ -20,7 +19,6 @@ let setWatermark = (str) => {
|
||||
document.getElementsByClassName('detail-content')[0].style.background = 'url(' + can.toDataURL('image/png') + ') left top repeat'
|
||||
|
||||
}
|
||||
console.log(id)
|
||||
return id
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user