Skip to content

页面初始化后,双击左侧与右侧间的拖拽线,会导致右边栏空白 #53

Description

@liuc601

image
如图,页面初始化后,双击左侧与右侧间的拖拽线,会导致右边栏空白;
经过查找,是因为src\js\component\panel\panel.vue组件中,currentChange没有设置在data中。双击的时候,没有经过move事件,会导致currentChange获取到的值为undefined和null。
解决办法:在data中设置currentChange为0就可以了。
currentChange: 0,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions