Commit 799a694b2512f58febbccfad363de82af8123cdc

Authored by vben
1 parent a0681cca

chore: bump 2.0.0.rc.15

CHANGELOG.en_US.md
  1 +## 2.0.0-rc.15 (2020-12-31)
  2 +
  3 +### ✨ Table destructive update
  4 +
  5 +- Refactored editable cells and editable rows. See examples for details. The writing has changed. For editable tables.
  6 +
  7 +- Form editing supports form validation
  8 +
  9 +- Added the following configuration in the table column configuration
  10 +
  11 +```bash
  12 +{
  13 +
  14 + # Whether to display columns by default. Those that are not displayed can be opened in the column configuration
  15 + defaultHidden?: boolean;
  16 + # Help text on the right side of the column header
  17 + helpMessage?: string | string[];
  18 + # Custom formatting Cell content. Support time/enumeration automatic conversion
  19 + format?: CellFormat;
  20 +
  21 + # Editable
  22 + # Is it an editable cell
  23 + edit?: boolean;
  24 + # Is it an editable line
  25 + editRow?: boolean;
  26 + # Edit status.
  27 + editable?: boolean;
  28 + # Edit component
  29 + editComponent?: ComponentType;
  30 + # The parameters of the corresponding component
  31 + editComponentProps?: Recordable;
  32 + # Check
  33 + editRule?: boolean | ((text: string, record: Recordable) => Promise<string>);
  34 + # Value enumeration conversion
  35 + editValueMap?: (value: any) => string;
  36 + # Trigger editing Zhenghang
  37 + record.onEditRow?: () => void;
  38 +}
  39 +
  40 +```
  41 +
  42 +### ✨ Table reconstruction
  43 +
  44 +- Added `clickToRowSelect` attribute. Used to control whether the clicked row is checked or not
  45 +- Monitor row click event
  46 +- Add column drag and drop and column fix function for the table column configuration button.
  47 +- Added `defaultHidden` attribute to table column configuration. Used to hide by default. You can configure the tick display in the table column
  48 +- More powerful column configuration
  49 +- useTable: Support for dynamically changing parameters. You can pass in `Ref` type and `Computed` type for dynamic changes
  50 +- useTable: Added return function `getForm`. Can be used to manipulate forms in the form Fix known issues in the table
  51 +
  52 +### ✨ Features
  53 +
  54 +- Added `v-ripple` water ripple command
  55 +- Added the left menu mixed mode
  56 +- Add an example of markdown embedded in the form
  57 +- Add an example of a page outside the main frame
  58 +- `route.meta` added `currentActiveMenu`, `hideTab`, and `hideMenu` parameters to control the display and hide of the crumb-level menu on the detail page.
  59 +- Added breadcrumb navigation example
  60 +- form: Added `suffix` attribute to configure suffix content
  61 +- form: Added remote drop-down `ApiSelect` and examples
  62 +- form: Add `autoFocusFirstItem` configuration. Used to configure whether to focus on the first input box of the form
  63 +- useForm: Support for dynamically changing parameters. You can pass in `Ref` type and `Computed` type for dynamic changes
  64 +
  65 +### ⚡ Performance Improvements
  66 +
  67 +- Optimize the scroll bar components of `modal` and `drawer`
  68 +- table: remove the `isTreeTable` attribute
  69 +- Import `less` files globally. No need to manually re-introduce the component
  70 +
  71 +### 🎫 Chores
  72 +
  73 +- Upgrade `ant-design-vue` to `2.0.0-rc.7`
  74 +- Upgrade `vue` to `3.0.5`
  75 +
  76 +### 🐛 Bug Fixes
  77 +
  78 +- Fixed the issue of missing scroll bars in mixed mode
  79 +- Fix the invalid configuration of environment variables and the logo address problem in history mode
  80 +- Fix the calculation error of width and height caused by switching page of chart library
  81 +- Fixed the issue of multi-language configuration `Locale.show` causing the configuration not to take effect
  82 +- Fix routing type error
  83 +- Fix the problem of invalid permissions when the menu is split
  84 +- Iframe loads early when closing multi-tab pages
  85 +- Fix known issues with `modal` and `drawer`
  86 +- Fix the problem of mixing mode adaptation in the left menu
  87 +
1 88 ## 2.0.0-rc.14 (2020-12-15)
2 89  
3 90 ### ✨ Features
... ...
CHANGELOG.zh_CN.md
1   -## Wip
  1 +## 2.0.0-rc.15 (2020-12-31)
2 2  
3 3 ### ✨ 表格破坏性更新
4 4  
... ...
package.json
1 1 {
2 2 "name": "vben-admin-2.0",
3   - "version": "2.0.0-rc.14",
  3 + "version": "2.0.0-rc.15",
4 4 "scripts": {
5 5 "bootstrap": "yarn install",
6 6 "serve": "cross-env vite --mode=development",
... ...