Commit e2e37244 by Jaxon

fix: 修改const 定义 for中的i, 导致报错的问题

1 parent 71898bd2
......@@ -155,7 +155,7 @@ export default {
}
const targetKey = String(key);
for (const i = 0; i < normalizedList.length; i += 1) {
for (let i = 0; i < normalizedList.length; i += 1) {
if (normalizedList[i].key === targetKey) {
return i;
}
......@@ -302,7 +302,7 @@ export default {
left: 0;
z-index: 1;
border-radius: 24px;
background-color: var(--primary-color, #1677ff);
background-color: var(--themeColor, #3975c6);
transition:
transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1),
width 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!