Skip to content

Commit

Permalink
fix(table): fix table jitter problem
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Jun 22, 2021
1 parent c152525 commit 8eba7fb
Show file tree
Hide file tree
Showing 5 changed files with 328 additions and 226 deletions.
41 changes: 41 additions & 0 deletions CHANGELOG.en_US.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,44 @@
## 2.5.0(2021-06-20)

## (Breaking changes) Breaking changes

- Change the project `windicss` to `tailwindcss` to solve the memory overflow problem
- There are currently incompatible areas of the project
- The wording of `!xl:m-4` needs to be changed to `xl:!m-4`, note that only `!` is incompatible. If you don’t use it, you don’t need to change it.
- The new features of `windicss` itself need to be adjusted, for example, `Attribute` mode is not compatible

### ✨ Refactor

- Remove `useExpose` and use `expose` provided by the component itself instead

### ⚡ Performance Improvements

- **Locale** merge multi-language files to reduce the number of files
- **Utils** Mitt default export is changed from `Class` to `Function`
- **Axios** `isTransformRequestResult` is renamed to `isTransformResponse`

### ✨ Features

- **CropperImage** `Cropper` Avatar cropping adds circular cropping function
- **CropperAvatar** Added avatar upload component
- **Drawer** `useDrawer` added `closeDrawer` function
- **Preview** Added `createImgPreview` picture preview function
- **Setup** New guide page example
- **Tests** Add jest test suite, Vue component single test is not currently supported
- **Axios** Added `authenticationScheme` configuration to specify the authentication scheme
- **Setting** Added `sessionTimeoutProcessing` project configuration item, used to configure how to deal with session timeout

### 🐛 Bug Fixes

- **Modal** fix full screen height calculation error
- **Modal** Fix the problem that the shutdown event is triggered multiple times
- **PageWrapper** fix the height calculation problem
- **FlowChart** Repair drag and drop menu missing
- Fixed Iframe routing error in background mode
- **PageWrapper** Fix the height calculation problem when footer and global footer are opened at the same time
- **Menu** Fix the jitter problem of menu folding animation
- **Store** fixed type error after pinia version upgrade

## 2.4.2(2021-06-10)

### ✨ Refactor
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Wip

### 🐛 Bug Fixes

- **Table** 修复分页抖动问题

## 2.5.0(2021-06-20)

## (破坏性更新) Breaking changes
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@zxcvbn-ts/core": "^0.3.0",
"ant-design-vue": "2.1.6",
"axios": "^0.21.1",
"codemirror": "^5.61.1",
"codemirror": "^5.62.0",
"cropperjs": "^1.5.12",
"crypto-js": "^4.0.0",
"echarts": "^5.1.2",
Expand All @@ -59,14 +59,14 @@
"vue": "3.0.11",
"vue-i18n": "9.1.6",
"vue-json-pretty": "^2.0.2",
"vue-router": "^4.0.9",
"vue-router": "^4.0.10",
"vue-types": "^3.0.2",
"xlsx": "^0.17.0"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@iconify/json": "^1.1.358",
"@iconify/json": "^1.1.359",
"@purge-icons/generated": "^0.7.0",
"@types/codemirror": "^5.60.0",
"@types/crypto-js": "^4.0.1",
Expand All @@ -81,13 +81,13 @@
"@types/qrcode": "^1.4.0",
"@types/qs": "^6.9.6",
"@types/sortablejs": "^1.10.6",
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.27.0",
"@vitejs/plugin-legacy": "^1.4.1",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"@vitejs/plugin-legacy": "^1.4.2",
"@vitejs/plugin-vue": "^1.2.3",
"@vitejs/plugin-vue-jsx": "^1.1.5",
"@vue/compiler-sfc": "3.0.11",
"@vue/test-utils": "^2.0.0-rc.7",
"@vue/test-utils": "^2.0.0-rc.8",
"autoprefixer": "^10.2.6",
"commitizen": "^4.2.4",
"conventional-changelog-cli": "^2.1.1",
Expand All @@ -105,7 +105,7 @@
"husky": "^6.0.0",
"inquirer": "^8.1.1",
"is-ci": "^3.0.0",
"jest": "^27.0.4",
"jest": "^27.0.5",
"less": "^4.1.1",
"lint-staged": "^11.0.0",
"npm-run-all": "^4.1.5",
Expand Down Expand Up @@ -133,12 +133,12 @@
"vite-plugin-svg-icons": "^0.7.1",
"vite-plugin-theme": "^0.8.1",
"vue-eslint-parser": "^7.6.0",
"vue-tsc": "^0.1.7"
"vue-tsc": "^0.2.0"
},
"resolutions": {
"//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it",
"bin-wrapper": "npm:bin-wrapper-china",
"rollup": "^2.52.1"
"rollup": "^2.52.2"
},
"repository": {
"type": "git",
Expand Down
7 changes: 6 additions & 1 deletion src/components/Form/src/hooks/useAdvanced.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,12 @@ export default function ({
const debounceUpdateAdvanced = useDebounceFn(updateAdvanced, 30);

watch(
[() => unref(getSchema), () => advanceState.isAdvanced, () => unref(realWidthRef)],
[
// TODO
// () => unref(getSchema),
() => advanceState.isAdvanced,
() => unref(realWidthRef),
],
() => {
const { showAdvancedButton } = unref(getProps);
if (showAdvancedButton) {
Expand Down
Loading

0 comments on commit 8eba7fb

Please sign in to comment.