asd26269546 2 anni fa
parent
commit
61c8ab5b0b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/components/headerBar/header-bar.vue

+ 1 - 1
src/components/headerBar/header-bar.vue

@@ -171,7 +171,7 @@ const routerInit = (() => {
 			//判断是否存在
 			if(element.children && element.children.length > 0){
 				//判断余数加上子项列会不会爆掉
-				if(num % 11 + element.children.length + 1 > 11 && element.children.length < 11){
+				if(num % 11 + element.children.length > 11 && element.children.length < 11){
 					element.pushNum = 11 - num % 11
 					for (let j = 0; j < 11 - num % 11; j++) {
 						arr.splice(i, 0, {...element,isNone:true})