页标签位置随机
This commit is contained in:
@@ -871,7 +871,7 @@ const addFloatingPanel = (panel) => {
|
|||||||
// 使用children结构以兼容Render组件的渲染逻辑
|
// 使用children结构以兼容Render组件的渲染逻辑
|
||||||
children: {
|
children: {
|
||||||
type: 'TabPage',
|
type: 'TabPage',
|
||||||
tabPosition: 'left',
|
tabPosition: ['top', 'right', 'bottom', 'left'][Math.floor(Math.random() * 4)],
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
...safePanel,
|
...safePanel,
|
||||||
|
|||||||
Reference in New Issue
Block a user