无法使 CUR 状态正常工作。菜单总是标有 0 而不是标有 2 的类。我做错了什么?我的打字稿代码:
10.marks {
MENU_OBEN = HMENU
MENU_OBEN {
special = directory
special.value = 10
1 = TMENU
1 {
wrap = <ul>|</ul>
noBlur = 1
NO = 1
NO {
allWrap = <li class="first0"> | </li> |*| <li class="normal0"> | </li> |*| <li class="last0"> | </li>
stdWrap.wrap = <strong> | </strong> |*| | |*| <b> | </b>
}
CUR = 1
CUR {
allWrap = <li class="first2"> | </li> |*| <li class="normal2"> | </li> |*| <li class="last2"> | </li>
stdWrap.wrap = <strong> | </strong> |*| | |*| <b> | </b>
}
}
}