页标签位置随机

This commit is contained in:
zqm
2026-01-08 16:46:00 +08:00
parent d458426b52
commit 2a1aa74eeb

View File

@@ -871,7 +871,7 @@ const addFloatingPanel = (panel) => {
// 使用children结构以兼容Render组件的渲染逻辑
children: {
type: 'TabPage',
tabPosition: 'left',
tabPosition: ['top', 'right', 'bottom', 'left'][Math.floor(Math.random() * 4)],
children: [
{
...safePanel,