解决二三维快速切换贴地svg显隐报错的问题
This commit is contained in:
@ -86,6 +86,13 @@ class YJColorPicker {
|
||||
let pickPen = document.createElement('div')
|
||||
pickPen.className = 'icon-pen-box'
|
||||
pickPen.innerHTML = '<svg class="icon-pen"><use xlink:href="#yj-icon-pen"></use></svg>'
|
||||
|
||||
/** 为完成、暂时隐藏 *///////
|
||||
pickPen.style.opacity = '0'
|
||||
pickPen.style.cursor = 'unset'
|
||||
|
||||
|
||||
|
||||
let pickerInput = _this.colorPicker.pickerInput
|
||||
pickerInput.parentNode.insertBefore(pickPen, pickerInput)
|
||||
pickerInput.style.width = '188px'
|
||||
|
Reference in New Issue
Block a user