This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0
old
宇天 2021-06-04 14:22:45 +08:00
parent ebb04518d1
commit 5cf6d277cb
1 changed files with 3 additions and 3 deletions

View File

@ -559,9 +559,9 @@ export default class Input {
.join('') .join('')
this.__LIST__.firstElementChild.firstElementChild.innerHTML = html this.__LIST__.firstElementChild.firstElementChild.innerHTML = html
this.__LIST__.classList.toggle('show', true) this.__LIST__.classList.toggle('show', true)
this.__LIST__.style.cssText = `left:${x}px;top:${ this.__LIST__.style.cssText = `left:${x}px;top:${y +
y + height + 5 height +
}px;width:${width}px;` 5}px;width:${width}px;`
} else { } else {
this.__LIST__.classList.toggle('show', false) this.__LIST__.classList.toggle('show', false)
} }