Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

destroy后不刷新页面重新create传入新的列数时会创建旧列数的表 #1390

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Aug 14, 2023

  1. Update core.js

    修复bug:destroy后不刷新页面重新create时,即使传入新的column字段,表格的大小也还是原来设定的值,原因在于create时Store从defaultSettings中读取了对象,而后续又经由Store对该对象进行了修改,导致对该对象的修改直接修改到了defaultSettings里面,而destroy时并没有把defaultSettings还原,只还原了Store等其它对象。本pr在合并defaultSettings时先将其尝试克隆一遍以防止其被修改到,做为defaultSettings,应该是只读的。
    xieranmaya authored Aug 14, 2023
    Configuration menu
    Copy the full SHA
    c78ea3d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from xieranmaya/xieranmaya-patch-1

    Update core.js
    xieranmaya authored Aug 14, 2023
    Configuration menu
    Copy the full SHA
    3db80ca View commit details
    Browse the repository at this point in the history