|
|
@@ -274,12 +274,12 @@ export default defineComponent({
|
|
|
}
|
|
|
}
|
|
|
const code = list[firstIndex].children[secondeIndex].code;
|
|
|
- selectedKeys.value.length = 0;
|
|
|
- selectedKeys.value.push(code);
|
|
|
- openKeys.value.length = 0;
|
|
|
- openKeys.value.push(list[firstIndex].code);
|
|
|
- // selectedKeys.value = [code];
|
|
|
- // openKeys.value = [list[firstIndex].code];
|
|
|
+ // selectedKeys.value.length = 0;
|
|
|
+ // selectedKeys.value.push(code);
|
|
|
+ // openKeys.value.length = 0;
|
|
|
+ // openKeys.value.push(list[firstIndex].code);
|
|
|
+ selectedKeys.value = [code];
|
|
|
+ openKeys.value = [list[firstIndex].code];
|
|
|
context.emit('chooseMenu', setShowBottomPart(code));
|
|
|
// 处理页面刷新时候 引发路由乱跳的bug
|
|
|
if (router.currentRoute.value.fullPath === '/home') {
|