添加权限

This commit is contained in:
qq787203167
2022-06-09 09:21:20 +08:00
parent 5854256e45
commit bd4b50b86f
@@ -133,8 +133,8 @@
textColor[0].classList.remove('Virtual-detail-left-text-color')
}
let text = document.getElementsByClassName('Virtual-detail-left-text')
if (num == 0) {
text[num].classList.add('Virtual-detail-left-text-color')
if (name == 0) {
text[name].classList.add('Virtual-detail-left-text-color')
} else {
if (text && text.length > 0) {
for (let i = 0; i < text.length; i++) {