Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cascader: refactor and add multiple mode. #15611

Merged
merged 9 commits into from
May 29, 2019

Conversation

SimonaliaChen
Copy link
Contributor

@SimonaliaChen SimonaliaChen commented May 17, 2019

Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow Element's contributing guide (中文 | English | Español | Français).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer relative issues for you PR.

@element-bot
Copy link
Member

element-bot commented May 17, 2019

Deploy preview for element ready!

Built with commit b7d2029

https://deploy-preview-15611--element.netlify.com

@luckyCao luckyCao merged commit bdaae81 into ElemeFE:dev May 29, 2019
@q5276
Copy link

q5276 commented May 31, 2019

增加多选模式挺好的,为啥把原来的单选增加了radio,略多余,而且丑,不开心

@perryoneone
Copy link

感觉单选操作有点麻烦

@smallQQx
Copy link

2.9.2版本的element ui 级联动怎么去掉了currentLabels属性?

weisiren168 pushed a commit to weisiren168/element that referenced this pull request Jun 20, 2019
@caoleiqing
Copy link

2.9.2版本的element ui 级联动怎么去掉了currentLabels属性?

就是啊,升级了以后页面就有了bug,低版本用了currentLabels,不知道后面会不会加上。

@nikylin
Copy link

nikylin commented Jul 1, 2019


这个代码没升级前这样写,升级后面板就多出来单选框,把 :change-on-select="true"去掉,单选框就没了

@zhutiegang
Copy link

这个改动真的很糟心,加个radio操作起来很混乱,也不兼容以前的change-on-select,以前以element-ui构建的组件没办法升级

@hoythan
Copy link
Contributor

hoythan commented Jul 2, 2019

这根本不是重构,是重写。需要开发者将以前的组件按照新规则重写。

@chenning111
Copy link

为什么选择即改变移除了 新版本 也太难操作了吧 产品经理提点击字也要选中 怎么搞哦

@Younglina
Copy link

选择即改变移除了 真的难顶

@SimonaliaChen
Copy link
Contributor Author

增加多选模式挺好的,为啥把原来的单选增加了radio,略多余,而且丑,不开心

因为以前的交互设计无法区别 展开 和 选中 操作,设计师认为两个交互不能统一,所以加了 radio。

@SimonaliaChen
Copy link
Contributor Author

2.9.2版本的element ui 级联动怎么去掉了currentLabels属性?

currentLabels 本身就是未暴露的API。内部状态不建议直接调用,风险需开发者自己承担。以后应该也没有再暴露的可能啦 :)

@rehack
Copy link

rehack commented Jul 23, 2019

@SimonaliaChen currentLabels移除就移除吧,总得提供有一个代替的方案或其他方法来获取选中节点对应的label文本吧~
有人说用getCheckedNodes来获取,我试了一下,只能获取到最后一个节点的信息。不能获取选中的那一组的节点的信息。
然后我在this.$refs[xxx]这个对象里面发现有inputValue 和presentText这两个属性,当触发change事件的时候,我打印这个两个属性都是null, 当第二次触发change事件的时候,才能打印出上一次选择过的那一组节点文本信息。
现在卡在这里了,好难受。

@SimonaliaChen
Copy link
Contributor Author

@SimonaliaChen currentLabels移除就移除吧,总得提供有一个代替的方案或其他方法来获取选中节点对应的label文本吧~
有人说用getCheckedNodes来获取,我试了一下,只能获取到最后一个节点的信息。不能获取选中的那一组的节点的信息。
然后我在this.$refs[xxx]这个对象里面发现有inputValue 和presentText这两个属性,当触发change事件的时候,我打印这个两个属性都是null, 当第二次触发change事件的时候,才能打印出上一次选择过的那一组节点文本信息。
现在卡在这里了,好难受。

getCheckedNodes返回的node节点里有parent指针,可以获取到所有父节点

@hhli8
Copy link

hhli8 commented Jul 25, 2019

您好,这个改动造成了有一个bug,默认值显示问题,显示不正确,多数据情况下,部分显示不正确

@SimonaliaChen
Copy link
Contributor Author

您好,这个改动造成了有一个bug,默认值显示问题,显示不正确,多数据情况下,部分显示不正确

麻烦提供相应的Isuue和复现Demo

@dadiyang
Copy link

dadiyang commented Sep 3, 2019

这个更新改变了原有的用户操作习惯,大部分情况下,用户只要点击了就是选中,而不是只为了查看子节点。我们不想改变用户习惯,现在又需要升级,以使用新的组件。

于是,我想出了一个办法:同时监听 expand-change 和 change 事件,然后将 radio 隐藏掉:

一、同时监听 expand-change 和 change 事件,绑定到同一样方法

  <el-cascader :options="biz"
               change-on-select
               v-model="defaultValue"
               @change="change"
               @expand-change="change"
               popper-class="my-cascader-popper">
  </el-cascader>

二、在 methods 中写 change 方法:

 methods: {
      change(val) {
        // 这里手动给 v-model 绑定的值赋值,改变当前选中
        this.defaultValue = val;
        // 这里实现 change 事件的其他逻辑
       ……
      },
}

三、添加全局样式来隐藏 radio:

<style>
  .my-cascader-popper .el-cascader-node .el-radio {
    display: none;
  }
</style>

注意,为了不造成样式污染,我们在 cascade 中设置 popper-class="my-cascader-popper"

这样使用的效果就跟低版本的一样了。

但是如果是叶子结点,则无法展开,也就不能触发 expand-change 事件,所以我们需要给所有的叶子结点再添加一个空结点

{
      value: "",
      label: "",
      leaf: true,
      disabled: true
}
// 如果是懒加载的,则在发现是叶子结点时返回:
resolve([{
                  value: "",
                  label: "",
                  leaf: true,
                  disabled: true
                }]);

像这种大的不兼容升级建议还是要更加谨慎一些,尽量提供向前兼容的选项。特别是这种对用户有感知的升级,更要考虑兼容性问题。

@hmj776521114
Copy link

这个改动真的很糟心,加个radio操作起来很混乱,也不兼容以前的change-on-select,以前以element-ui构建的组件没办法升级

同意,想用change-on-select但是看到官方文档里已经没有这个属性了,贼难受

lianghx-319 pushed a commit to FEMessage/element that referenced this pull request Mar 9, 2020
* Image: add referrerPolicy prop (ElemeFE#15452)

* Chore: Update make new component logic (ElemeFE#15542)

* fix(Tabs): basic tab nested card tab padding error (ElemeFE#15461)

* fix(Form): input-group within form-item height error (ElemeFE#15457)

* Tooltip: fix custom tabindex not work (ElemeFE#15619)

* loading: 1.修复loading状态更新过快的情况下,loading的dom没有发生变化. (ElemeFE#15123)

* loading 修复loading状态更新过快的情况下,loading的dom没有发生变化

* revert example/play/index.vue

* Type: add Icon type (ElemeFE#15634)

* Image: add support for transmit "attrs" and "listeners" (ElemeFE#15578)

* Revert "Select: set value to null when cleared (ElemeFE#14322) (ElemeFE#14650)" (ElemeFE#15447)

* Input: fix show-word-count style in el-form (ElemeFE#15359)

* Switch: Label with el-switch repeating event(fix ElemeFE#14959) (ElemeFE#15178)

* Theme: Add popup background design token (Message Dialog) (ElemeFE#15412)

* type: update loading type definition (ElemeFE#15635)

* feat(Tag): add prop effect. (ElemeFE#15725)

* Select: remove redundant empty option item when set default value undefined single select mode (ElemeFE#15007) (ElemeFE#15111)

* infiniteScroll: add infiniteScroll component (ElemeFE#15567)

* Tabs: left align title when type is card (ElemeFE#15695)

* Backtop: Add backtop component (ElemeFE#15541)

* fix issue 14808 (ElemeFE#14809)

* Progress: add dashboard progress bar & add custom color (ElemeFE#11867)

* docs: fix el-backtop prop type error in component.tpl (ElemeFE#15739)

* Docs: fix doc bug (ElemeFE#15228)

* Link: fix link icon style class (ElemeFE#15752)

* Form: Fix resetFields issue #(15181) (ElemeFE#15640)

* Slider: Fix style problem when clicking slider bar(ElemeFE#15561)

* infiniteScroll: update doc (ElemeFE#15753)

* Message: display in stack mode (ElemeFE#15639)

* Checkbox: Using the max attribute can limit the number of items that can be checked (ElemeFE#14742) (ElemeFE#15585)

* PageHeader: add page-header component (ElemeFE#15714)

* Select: fix Switching select`s multiple-choice radio will cause an error (ElemeFE#15206) (ElemeFE#15587)

* Cascader: refactor and add multiple mode. (ElemeFE#15611)

* Tag: fix stop propagation problem (ElemeFE#15150)

* docs: fix the side effect by global el-scrollbar style (ElemeFE#15740)

* DatePicker: support literal (ElemeFE#15525)

* Chore: update new 2.9.0 index page (ElemeFE#15682)

* changelog for 2.9.0 (ElemeFE#15783)

* Chore: update build script (ElemeFE#15779)

* [build] 2.9.0

* [release] 2.9.0

* Chore: Update infiniteScroll type (ElemeFE#15787)

* Revert "Chore: Update infiniteScroll type (ElemeFE#15787)" (ElemeFE#15793)

This reverts commit d70ae24.

* Chore: Update infiniteScroll type (ElemeFE#15794)

* Chore: update changelog 2.9.0 (ElemeFE#15785)

* Table: add new features for Table and optimize code (ElemeFE#15709)

* Chore: update api host (ElemeFE#15784)

* Changelog for 2.9.1 (ElemeFE#15798)

* Revert "Chore: update new 2.9.0 index page (ElemeFE#15682)" (ElemeFE#15801)

This reverts commit a4860f8.

* [build] 2.9.1

* [release] 2.9.1

* Chore: add missing import in element-ui.d.ts

fix ElemeFE#15802

* Chore: Relase 2.9.2 (ElemeFE#16181)

* [build] 2.9.2

* [release] 2.9.2

* Chore(deps): Bump fstream from 1.0.11 to 1.0.12 (ElemeFE#15823)

* Revert "Revert "Chore: update new 2.9.0 index page (ElemeFE#15682)" (ElemeFE#15801)" (ElemeFE#15856)

* Doc: Update Spanish Doc 2.9.1 (ElemeFE#15840)

* Update Spanish Doc 2.9.1

* Update Spanish Doc 2.9.1

* Update Spanish Doc 2.9.1

* doc: Update spanish doc 2.9.1

* Docs: fix spelling mistakes in fr (ElemeFE#15837)

* Update pt-br.js (ElemeFE#15776)

i18n: Updated missing translations of `image.error` and `pageHeader.title`

* Tree: not highlight tree node when currentKey is null (ElemeFE#15668)

* Upload: Update the parameter `fileList` type (ElemeFE#15716)

* Tree: Modify loop conditions to improve performance (ElemeFE#15699)

* Chore: Update test api host (ElemeFE#15807)

* i18n: update Farsi translation (ElemeFE#15881)

* Table: fixed  loading icon not display (ElemeFE#15868)

* Chore(deps): Bump handlebars from 4.0.12 to 4.1.2 (ElemeFE#15961)

* Docs: fix Divider attribute type in zh-cn (ElemeFE#15889)

* Table: fix background color of complex table when hovering (ElemeFE#15504)

* Menu: fixed submenu hidden bug after adding popper-append-to-body (ElemeFE#15391)

* Tree: Fix  issue ElemeFE#15538 caused by two Tree sharing the same data. (ElemeFE#15615)

* Tree: fix ElemeFE#15538 by adding more detect logic.

* Tree: fix ElemeFE#15538 and add test case.

* Tree: fix eslint error

* Tree: remove arrayContains function

* Select: fix initialInputHeight (ElemeFE#15989)

Select: fix initialInputHeight (ElemeFE#15989)

* Theme: Refine GA track & Update footer link forward to online theme roller (ElemeFE#16007)

* Message: added type def for offset option (ElemeFE#16027)

* Docs: add missing components in quickstart (ElemeFE#16063)

* I18n: Added Uzbek language (ElemeFE#15796)

* Added Uzbek language

* added missing translations in Uzbek

* Table: fix current-row-key and select event bug (ElemeFE#15983)

* Timeline: fix reverse broken (ElemeFE#16091)

* Button: add compact size (ElemeFE#15895)

* Button: add compact size
* Docs: 極小 -> 极小

* Button: Revert adding compact size

This reverts commit 05fe6e6.

* Chore(deps-dev): Bump eslint from 4.14.0 to 4.18.2 (ElemeFE#16180)

Bumps [eslint](https://github.com/eslint/eslint) from 4.14.0 to 4.18.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](eslint/eslint@v4.14.0...v4.18.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog 2.9.2 Spanish

* Slider: fix ElemeFE#15545 by adding explains about "input" event in Chinese (ElemeFE#15588)

Slider: add explains about "input" event (ElemeFE#15545)

* Form: Remove success status (ElemeFE#16159)

* InfiniteScroll: Update package name (ElemeFE#16125)

* infinite scroll rename

* infinite scroll rename

* update name config

* update name config

* add missing files

* Calendar: add first-day-of-week attribute (ElemeFE#16047)

* chore: update badge prop check (ElemeFE#16198)

* Table: height accepts more units (ElemeFE#16013)

* Table: height accepts more units

* fix and update docs

* update

* MessageBox: fix  distinguishCancelAndClose action not same as docs bug (ElemeFE#15438)

* Dialog: Fix close bug (ElemeFE#15000) (ElemeFE#15544)

* Dialog: Revert Fix close bug (ElemeFE#15000) (ElemeFE#15544) (ElemeFE#16201)

This reverts commit 5626627.

* PopupManager: fix z-index cannot be rewritten at first using (ElemeFE#15738)

* PopupManager: fix z-index value cannot be rewritten at initial render (ElemeFE#15074)

* fix issue

* remove package.lock

* Avatar: Add avatar component (ElemeFE#16144)

* add avatar component

* 1. add test 2. add types 3. refine doc 4. add img attr

* add props in types and doc

* refine how image fit its container

* fix doc

* refine doc

* change default background color

* remote style demo from doc

* add theme

* add demo on theme preview and change var name

* Upload: add capability to customize thumbnail template (ElemeFE#13192)

* Avatar: Update theme config var (ElemeFE#16202)

* change css var

* avatar theme config

* refine style

* Docs: delete an incorrect closing html tag and empty block code (ElemeFE#16194)

* Docs: Update french translation  (ElemeFE#16208)

* First round of correction

* Second round

* Cascader and form translation

* Last big round of changes

* Update changelog

* Select: Fix default-first-option behavior when typing Chinese (ElemeFE#15431) (ElemeFE#15553)

* Select: Fix default-first-option behavior when typing Chinese (ElemeFE#15431)

* Select: Fix missing param transmit

* Select: callback style modify

* Docs: add description $slots.default (ElemeFE#15444)

* Select: fix double import problem (ElemeFE#16215)

* Table: fix reserve-selection not work (ElemeFE#16135)

* Table: fix reserve-selection not work

* fix

* changelog for 2.10.0 (ElemeFE#16221)

* [build] 2.10.0

* [release] 2.10.0

* Chore: update version (ElemeFE#16233)

* Chore: Update Dingtalk Group QR image (ElemeFE#16236)

* Chore: update index page theme intro english css style (ElemeFE#16254)

* Table: fix sort icon (ElemeFE#15439)

* Doc: update online theme roller doc (ElemeFE#16244)

* Table: fix layout breaks when append slot exists (ElemeFE#16332)

* Tag: compatible with IE (ElemeFE#16334)

* Table: register scrollbar in filter-panel (ElemeFE#16246)

* Table: fix showOverflowTooltip not reactive (ElemeFE#16295)

* Calendar: first-day-of-week is not supported when using custom ranges (ElemeFE#16235)

* Revert "Calendar: first-day-of-week is not supported when using custom ranges (ElemeFE#16235)" (ElemeFE#16353)

* Docs: Add 2.10.1 change log (ElemeFE#16357)

* I18n: Corrected translations of Uzbek language (ElemeFE#16226)

* corrected translations uzbek language

* fix translations uz-UZ after review

* Docs: Add 2.10.1 change log (ElemeFE#16362)

* [build] 2.10.1

* [release] 2.10.1

* Checkbox: enhance css selector (ElemeFE#16006)

* Docs: fix typo in table documents (ElemeFE#15971)

* Tree: make el-tree generic (ElemeFE#15934)

* Dropdown: fix split-button caret default color (ElemeFE#15931)

* Docs: Fix dropdown demo (ElemeFE#16193)

* Button: add compact size (ElemeFE#15895)

* Button: add compact size
* Docs: 極小 -> 极小

* Button: Revert adding compact size

This reverts commit 05fe6e6.

* fix ElemeFE#15838(文档图标不显示)

* Tree: set isCurrent prop to False (ElemeFE#15870)

* Cascader: fix level 1 children is empty update problem (ElemeFE#16399)

* Submenu: fix prop append-to-body . ElemeFE#16289

* Table: Fix tree table when updating data (ElemeFE#16481)

* Chore(deps): Bump lodash.mergewith from 4.6.1 to 4.6.2 (ElemeFE#16518)

Bumps [lodash.mergewith](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot[bot] <support@github.com>

* Chore(deps): Bump lodash from 4.17.11 to 4.17.14 (ElemeFE#16540)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>

* Chore: update theme base api (ElemeFE#16607)

* Chore: Mark ali inner user's access (ElemeFE#16609)

* Chore: update theme inner api

* Chore: update theme inner api

* Chore: text

* Chore: fix

* Chore: fix

* Calendar: Display correct header when range is specified (ElemeFE#16354)

* Calendar: display correct header when range is specified

* firstOfWeek is supported

* update docs

* update test

* update

* fix typo

* Select: Fix memory leak issue (ElemeFE#16463)

* Cascader: add sets default values when lazy is true (ElemeFE#16420)

* Chore: Fix doc anchor bug (ElemeFE#16692)

* update inner check (ElemeFE#16700)

* Form: Add theme token (ElemeFE#16699)

* add form label size token

* add form label size token

* InfiniteScroll: Update naming & doc (ElemeFE#16698)

* I18n: Update translation of Thai language (ElemeFE#16689)

* I18n: Update translation of Thai language

* refactor(I18n): Update translation of Thai language & remove comment

* Avatar: fix image not center vertically issue (ElemeFE#16489)

* Drawer: Add drawer component (ElemeFE#16577)

* Cascader: fix display errors (ElemeFE#15935)

* Dialog: add destroyOnClose attribute (ElemeFE#16455)

* Dialog: add destroyOnClose attribute

* update

* Cascader: expose getCheckedNodes and fix options change bug (ElemeFE#16709)

* Image: Add big Image preview feature (ElemeFE#16333) (ElemeFE#16605)

* Changelog: 2.11.0 (ElemeFE#16733)

* Chore: Update build folder (ElemeFE#16735)

* [build] 2.11.0

* [release] 2.11.0

* Chore: Update dart-sass compatibility

* Image: Fix image ssr (ElemeFE#16737) (ElemeFE#16747)

* fix ssr

* refine

* Chore: Changelog 2.11.1 (ElemeFE#16758)

* [build] 2.11.1

* [release] 2.11.1

* docs: update changelog (ElemeFE#16773)

* I18n: Remove translation of 'year' in catalan language as in the other languages (ElemeFE#14722)

Remove translation of 'year' in catalan language as in the other languages.

* Icon: Adding font-display to @font-face declaration (ElemeFE#16805)

* I18n: Update spanish changelog 2.10.0 and 2.10.1 (ElemeFE#16548)

* Carousel: Fix onChange emit value (ElemeFE#16705)

* Notification: Fix modifying incoming option object (ElemeFE#16704)

* Test: correct spelling error (ElemeFE#16672)

* I18n: Update ar.js (ElemeFE#16653)

* Date-Picker: add className picker option (ElemeFE#16632)

* add classname

* add docs

* add test

* add range picker

* update api name

* update api name

* update test

* Fix: httprequest type (ElemeFE#16633)

* docs: Update contributing guide (ElemeFE#14800)

* Tree: Increase css weight (ElemeFE#16799)

* Test: refactor unit test to use data-uri instead (ElemeFE#16847)

* DateTimePicker: fix time-spinner not scroll to right position

* Table: prevent click handler after drag (ElemeFE#16850)

* Tab: fix tabs-item's padding cause active-bar's width and transform err(  … ElemeFE#15355) (ElemeFE#16520)

* Tab: Refactor tabs-item's padding with dynamic value

* Docs: fix typo in Drawer docs (ElemeFE#16848)

* Calendar : Fix weekdays i18n issue (ElemeFE#16772)

* Popover: add close-delay prop (ElemeFE#16671)

* Input: Fix Korean composition event (ElemeFE#15069)

* Table: fix wrong empty block height (ElemeFE#16861)

* Chore: Theme Extension (ElemeFE#16686)

* Checkbox: Improve screen reader experience (ElemeFE#16575)

* Docs: Update custom theme (ElemeFE#16983)

* DOC: update spanish doc 2.11.1 (ElemeFE#16961)

* update spanish doc 2.11

* update spanish doc 2.11

* update spanish doc 2.11

* DOC: update spanish doc 2.11

* DOC: update spanish doc 2.11

* DOC: update spanish doc 2.11

* DOC: update spanish doc 2.11

* i18n: add Esperanto translation (ElemeFE#16955)

* Table: fix chrome crash when set thead css display to none (ElemeFE#16956)

* Cascader: fix display errors (ElemeFE#16665)

* Cascader: Fix disable status and close button issue (ElemeFE#16209)

* Input: the click event of clear button is not trigger when using v-loading (ElemeFE#16576)

* BackTop: use cubic bezier scrolling

* Tabs: fix activated tab is out of visual range bug (ElemeFE#17033)

* RadioGroup: not produce invalid HTML in table if "is" attribute is specify (ElemeFE#17070)

* Table: not throw error when calling toggleExpansion (ElemeFE#16304)

* Divider: Support custom classes (ElemeFE#17078)

* Table: not trigger sort-change event when mounted (ElemeFE#17113)

* Table: set toggleAllSelection as instance property (ElemeFE#17137)

* Dialog: update sass var (ElemeFE#16365)

* Docs: Update input-number document about change event (ElemeFE#16316) (ElemeFE#16966)

* Calendar: fix locale error

* Transfer: fix style error

* Chore(deps): Bump mixin-deep from 1.3.1 to 1.3.2 (ElemeFE#17211)

* Table: fix setCurrentRow unable to clear highlight row (ElemeFE#16879)

* Table: fix expand-row-keys not work when data is loaded asynchronously (ElemeFE#16899)

* Select: not toggle dropdown when filtering (ElemeFE#17205)

* changelog for 2.12.0 (ElemeFE#17218)

* chore: update folder (ElemeFE#17220)

* [build] 2.12.0

* [release] 2.12.0

* doc: fix time-select typo (ElemeFE#17250)

* DatePicker: fix bug of only select min date of date range problem (ElemeFE#17191) (ElemeFE#17207)

* [Select]: fix select test cases

* README: fix typo (ElemeFE#16952)

* Docs: fix Drawer attribute accepted value typo in es (ElemeFE#17122)

* add font-size for the style of tree empty-text (ElemeFE#17094)

* Avatar: remove no-used css-property (ElemeFE#16975)

* Table: column header can be costumed (ElemeFE#17291)

* Table: update table header cell style (ElemeFE#17284)

* Table: fix table header height after filter (ElemeFE#17348)

* Table: fixed row-style with display not work (ElemeFE#17002)

* update webpack config (ElemeFE#17373)

* Docs: update Spanish changelog 2.12.0 (ElemeFE#17364)

* Calendar: import el-button and el-button-group (ElemeFE#17376)

* MessageBox: fix icon position error (ElemeFE#17410)

* i18n: update locale es.js (ElemeFE#17419)

* TimePicker: Set the selection range after scrolling up or down (ElemeFE#16868)

* Chore: update readme Dingtalk QR code (ElemeFE#17656)

* Doc: Fix Changelog typo (ElemeFE#17874)

* Docs: Fix Loading demo (ElemeFE#17862) (ElemeFE#17863)

* Message: fix close instace offsetHeight(ElemeFE#17564) (ElemeFE#17852)

* I18n: Update avatar component fr doc (ElemeFE#17762)

* Form: callback of validateField should be optional (ElemeFE#17314)

* Cascader: fix TypeScript 3.7 compatibility (ElemeFE#17881)

Fix error: 导入声明与“CascaderOption”的局部声明冲突

* Menu: fix router NavigationDuplicated error when using vue-router@^3.1.0 (ElemeFE#17269)

* Menu: fix router NavigationDuplicated error when using vue-router@^3.1.0

* Better fix

* comment

* fix

* Popconfirm: Add popconfirm component (ElemeFE#17548)

* init

* init

* init docs

* init docs2

* init type

* update test

* update naming

* Dropdown: update type file (ElemeFE#17550)

* Chore: SSR test (ElemeFE#16797)

* init ssr test

* ssr test

* Progress: add strokeLinecap prop (ElemeFE#17552)

* Progress: add strokeLinecap prop

* update docs

* InfiniteScroll: Skip trigger event on invisible element (ElemeFE#17553)

* InfiniteScroll: Do not trigger event on invisible element

* InfiniteScroll: Do not trigger event on invisible element2

* Image: Perfect picture preview behavior (ElemeFE#16985) (ElemeFE#17375)

* Perfect picture preview function

* update test

* Avatar: recover removed css-property (ElemeFE#17372)

This reverts commit 10592d1.

* Image: Fix shield the page when preview big image (ElemeFE#16796) (ElemeFE#16997)

* Image: Fix shield the page when preview big image

* refine

* Image:fix page scroll when use image-viewer by keyup and keydown

* add notes

* Table: fix header table not display (ElemeFE#17341)

* I18n: Update sv-SE.js (ElemeFE#17926)

* Drawer: bugfix/drawer-append-to-body-not-working (ElemeFE#16953)

- 修复了 AppendToBody API 不管用的问题.
- 修复了展开动画会出现滚动条的问题
- 新增了一个新的 API `withHeader` 来控制是否显示 Header 栏
- 动画流畅度的一个小改动
- 对应文档的改动
- 对应单元测试的改动

* Select: Fix tag show value or empty issue (17199) (ElemeFE#17396)

* Select: Fix tag show value or empty issue

* update docs

* Docs:  add input event in input Events Table (ElemeFE#18061)

* docs: Input Events Table add input event

update input doc, add input event
the issue is ElemeFE#7592

* docs: update input docs and add input event

* docs: update input docs and add input event

* Docs: delete Input  repeat change event (ElemeFE#18085)

* fix: FF scroll bar width (ElemeFE#18091)

* Chore: Update Changelog (ElemeFE#18200)

* change log

* update sub folder

* [build] 2.13.0

* [release] 2.13.0

* fix: remove duplicate code

Co-authored-by: jiaxin <songjiaxin2008@gmail.com>
Co-authored-by: iamkun <kunhello@outlook.com>
Co-authored-by: Simona <36978416+SimonaliaChen@users.noreply.github.com>
Co-authored-by: lisheng <lisheng_token@outlook.com>
Co-authored-by: VanMess <694248616@qq.com>
Co-authored-by: lvjiaxuan <471501748@qq.com>
Co-authored-by: susiwen8 <susiwen8@gmail.com>
Co-authored-by: luckyCao <cao.lei1031@163.com>
Co-authored-by: OverTree <624109177@qq.com>
Co-authored-by: hetech <dengzhiyang123@126.com>
Co-authored-by: QianYu <443033099@qq.com>
Co-authored-by: Zhi Cun <island205@gmail.com>
Co-authored-by: MASONGZHI <511071161@qq.com>
Co-authored-by: infjer <infjer@126.com>
Co-authored-by: 史宽 <shikuan1992@gmail.com>
Co-authored-by: cl199793 <cl199793@alibaba-inc.com>
Co-authored-by: NateScarlet <NateScarlet@Gmail.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gonzalo Nandez <godan2310@yahoo.es>
Co-authored-by: Baptiste Lombard <17877656+blombard@users.noreply.github.com>
Co-authored-by: Giovane Souza <giovane.bds@gmail.com>
Co-authored-by: Inside <inside74@163.com>
Co-authored-by: likui <2218301630@qq.com>
Co-authored-by: 阿尔卑斯 <1503268691@qq.com>
Co-authored-by: pamenary <pamenary@gmail.com>
Co-authored-by: Haoran Yu <haoran_yu@hotmail.com>
Co-authored-by: lon <cnlon@users.noreply.github.com>
Co-authored-by: 花裤衩 <panfree23@gmail.com>
Co-authored-by: Matjaž Lipuš <matjazl@gmail.com>
Co-authored-by: Pan Peng <pape2006@qq.com>
Co-authored-by: Ogabek Yusupov <ogabekyusupov@gmail.com>
Co-authored-by: amedora <32722363+amedora@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: QingDeng <zrl412@163.com>
Co-authored-by: Victor Zhuk <victorzhuk@users.noreply.github.com>
Co-authored-by: Alexey Khrushch <alexeykhr@outlook.com>
Co-authored-by: wangpeng <lengband@163.com>
Co-authored-by: bezany <bezanyu@gmail.com>
Co-authored-by: Cr <631807682@qq.com>
Co-authored-by: Achilov Davronbek <achilov21@yandex.com>
Co-authored-by: Hazlank <401840614@qq.com>
Co-authored-by: Feng Hao <howiefh@gmail.com>
Co-authored-by: jeremywu <591449570@qq.com>
Co-authored-by: JuniorTour <juniortour@qq.com>
Co-authored-by: heartdream <40289489+webxmsj@users.noreply.github.com>
Co-authored-by: huming <100huming@gmail.com>
Co-authored-by: Ponkrit Eiamprasertkul <ponkrit13@gmail.com>
Co-authored-by: junyiz <junyime@qq.com>
Co-authored-by: LewisChennnnn <lewis.chen.qx@gmail.com>
Co-authored-by: Oscar Albareda <oscaralbareda@users.noreply.github.com>
Co-authored-by: Faizal Andyka <logustra@gmail.com>
Co-authored-by: 王浩 <boomler@hotmail.com>
Co-authored-by: Lukas <12974004+l3op@users.noreply.github.com>
Co-authored-by: Jeff Wen <sinchangwen@gmail.com>
Co-authored-by: jesse-li <lijiexi93@gmail.com>
Co-authored-by: 咸fish <victorting_2015@aliyun.com>
Co-authored-by: winkay <34124953+winkay@users.noreply.github.com>
Co-authored-by: SeongYeob Jeong <ubi.toffee@gmail.com>
Co-authored-by: LachlanStuart <26366936+LachlanStuart@users.noreply.github.com>
Co-authored-by: Moonhyuk Im <godmoon00@naver.com>
Co-authored-by: Tyler Trotter <tylertrotter@gmail.com>
Co-authored-by: Maksim Koryukov <maxkoryukov@users.noreply.github.com>
Co-authored-by: zhangHongEn <zhang_h_n@163.com>
Co-authored-by: lon <longhao.lhl@alibaba-inc.com>
Co-authored-by: Geass <nullptru@gmail.com>
Co-authored-by: Jiewei Qian <wacky6@users.noreply.github.com>
Co-authored-by: Kerwin Ch <smk0621@hotmail.com>
Co-authored-by: msidolphin <OoMass-EffectoO@hotmail.com>
Co-authored-by: 0xflotus <0xflotus@gmail.com>
Co-authored-by: wurong <w18801775254@163.com>
Co-authored-by: spengjie <spengjie@sina.com>
Co-authored-by: 不得不错 <hnsxxscyx@gmail.com>
Co-authored-by: Bryan Matthews <mattheyan@gmail.com>
Co-authored-by: 任立欣 <1060754972@qq.com>
Co-authored-by: Weiqi Wu <295290708@qq.com>
Co-authored-by: Gong <445722156@qq.com>
Co-authored-by: Carter Li <CarterLi@users.noreply.github.com>
Co-authored-by: Emil Ahlbäck <Emil.Ahlback99@gmail.com>
Co-authored-by: vimvinter <zhoudaxia5683@163.com>
lianghx-319 pushed a commit to FEMessage/element that referenced this pull request Mar 9, 2020
* Image: add referrerPolicy prop (ElemeFE#15452)

* Chore: Update make new component logic (ElemeFE#15542)

* fix(Tabs): basic tab nested card tab padding error (ElemeFE#15461)

* fix(Form): input-group within form-item height error (ElemeFE#15457)

* Tooltip: fix custom tabindex not work (ElemeFE#15619)

* loading: 1.修复loading状态更新过快的情况下,loading的dom没有发生变化. (ElemeFE#15123)

* loading 修复loading状态更新过快的情况下,loading的dom没有发生变化

* revert example/play/index.vue

* Type: add Icon type (ElemeFE#15634)

* Image: add support for transmit "attrs" and "listeners" (ElemeFE#15578)

* Revert "Select: set value to null when cleared (ElemeFE#14322) (ElemeFE#14650)" (ElemeFE#15447)

* Input: fix show-word-count style in el-form (ElemeFE#15359)

* Switch: Label with el-switch repeating event(fix ElemeFE#14959) (ElemeFE#15178)

* Theme: Add popup background design token (Message Dialog) (ElemeFE#15412)

* type: update loading type definition (ElemeFE#15635)

* feat(Tag): add prop effect. (ElemeFE#15725)

* Select: remove redundant empty option item when set default value undefined single select mode (ElemeFE#15007) (ElemeFE#15111)

* infiniteScroll: add infiniteScroll component (ElemeFE#15567)

* Tabs: left align title when type is card (ElemeFE#15695)

* Backtop: Add backtop component (ElemeFE#15541)

* fix issue 14808 (ElemeFE#14809)

* Progress: add dashboard progress bar & add custom color (ElemeFE#11867)

* docs: fix el-backtop prop type error in component.tpl (ElemeFE#15739)

* Docs: fix doc bug (ElemeFE#15228)

* Link: fix link icon style class (ElemeFE#15752)

* Form: Fix resetFields issue #(15181) (ElemeFE#15640)

* Slider: Fix style problem when clicking slider bar(ElemeFE#15561)

* infiniteScroll: update doc (ElemeFE#15753)

* Message: display in stack mode (ElemeFE#15639)

* Checkbox: Using the max attribute can limit the number of items that can be checked (ElemeFE#14742) (ElemeFE#15585)

* PageHeader: add page-header component (ElemeFE#15714)

* Select: fix Switching select`s multiple-choice radio will cause an error (ElemeFE#15206) (ElemeFE#15587)

* Cascader: refactor and add multiple mode. (ElemeFE#15611)

* Tag: fix stop propagation problem (ElemeFE#15150)

* docs: fix the side effect by global el-scrollbar style (ElemeFE#15740)

* DatePicker: support literal (ElemeFE#15525)

* Chore: update new 2.9.0 index page (ElemeFE#15682)

* changelog for 2.9.0 (ElemeFE#15783)

* Chore: update build script (ElemeFE#15779)

* [build] 2.9.0

* [release] 2.9.0

* Chore: Update infiniteScroll type (ElemeFE#15787)

* Revert "Chore: Update infiniteScroll type (ElemeFE#15787)" (ElemeFE#15793)

This reverts commit d70ae24.

* Chore: Update infiniteScroll type (ElemeFE#15794)

* Chore: update changelog 2.9.0 (ElemeFE#15785)

* Table: add new features for Table and optimize code (ElemeFE#15709)

* Chore: update api host (ElemeFE#15784)

* Changelog for 2.9.1 (ElemeFE#15798)

* Revert "Chore: update new 2.9.0 index page (ElemeFE#15682)" (ElemeFE#15801)

This reverts commit a4860f8.

* [build] 2.9.1

* [release] 2.9.1

* Chore: add missing import in element-ui.d.ts

fix ElemeFE#15802

* Chore: Relase 2.9.2 (ElemeFE#16181)

* [build] 2.9.2

* [release] 2.9.2

* Chore(deps): Bump fstream from 1.0.11 to 1.0.12 (ElemeFE#15823)

* Revert "Revert "Chore: update new 2.9.0 index page (ElemeFE#15682)" (ElemeFE#15801)" (ElemeFE#15856)

* Doc: Update Spanish Doc 2.9.1 (ElemeFE#15840)

* Update Spanish Doc 2.9.1

* Update Spanish Doc 2.9.1

* Update Spanish Doc 2.9.1

* doc: Update spanish doc 2.9.1

* Docs: fix spelling mistakes in fr (ElemeFE#15837)

* Update pt-br.js (ElemeFE#15776)

i18n: Updated missing translations of `image.error` and `pageHeader.title`

* Tree: not highlight tree node when currentKey is null (ElemeFE#15668)

* Upload: Update the parameter `fileList` type (ElemeFE#15716)

* Tree: Modify loop conditions to improve performance (ElemeFE#15699)

* Chore: Update test api host (ElemeFE#15807)

* i18n: update Farsi translation (ElemeFE#15881)

* Table: fixed  loading icon not display (ElemeFE#15868)

* Chore(deps): Bump handlebars from 4.0.12 to 4.1.2 (ElemeFE#15961)

* Docs: fix Divider attribute type in zh-cn (ElemeFE#15889)

* Table: fix background color of complex table when hovering (ElemeFE#15504)

* Menu: fixed submenu hidden bug after adding popper-append-to-body (ElemeFE#15391)

* Tree: Fix  issue ElemeFE#15538 caused by two Tree sharing the same data. (ElemeFE#15615)

* Tree: fix ElemeFE#15538 by adding more detect logic.

* Tree: fix ElemeFE#15538 and add test case.

* Tree: fix eslint error

* Tree: remove arrayContains function

* Select: fix initialInputHeight (ElemeFE#15989)

Select: fix initialInputHeight (ElemeFE#15989)

* Theme: Refine GA track & Update footer link forward to online theme roller (ElemeFE#16007)

* Message: added type def for offset option (ElemeFE#16027)

* Docs: add missing components in quickstart (ElemeFE#16063)

* I18n: Added Uzbek language (ElemeFE#15796)

* Added Uzbek language

* added missing translations in Uzbek

* Table: fix current-row-key and select event bug (ElemeFE#15983)

* Timeline: fix reverse broken (ElemeFE#16091)

* Button: add compact size (ElemeFE#15895)

* Button: add compact size
* Docs: 極小 -> 极小

* Button: Revert adding compact size

This reverts commit 05fe6e6.

* Chore(deps-dev): Bump eslint from 4.14.0 to 4.18.2 (ElemeFE#16180)

Bumps [eslint](https://github.com/eslint/eslint) from 4.14.0 to 4.18.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](eslint/eslint@v4.14.0...v4.18.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog 2.9.2 Spanish

* Slider: fix ElemeFE#15545 by adding explains about "input" event in Chinese (ElemeFE#15588)

Slider: add explains about "input" event (ElemeFE#15545)

* Form: Remove success status (ElemeFE#16159)

* InfiniteScroll: Update package name (ElemeFE#16125)

* infinite scroll rename

* infinite scroll rename

* update name config

* update name config

* add missing files

* Calendar: add first-day-of-week attribute (ElemeFE#16047)

* chore: update badge prop check (ElemeFE#16198)

* Table: height accepts more units (ElemeFE#16013)

* Table: height accepts more units

* fix and update docs

* update

* MessageBox: fix  distinguishCancelAndClose action not same as docs bug (ElemeFE#15438)

* Dialog: Fix close bug (ElemeFE#15000) (ElemeFE#15544)

* Dialog: Revert Fix close bug (ElemeFE#15000) (ElemeFE#15544) (ElemeFE#16201)

This reverts commit 5626627.

* PopupManager: fix z-index cannot be rewritten at first using (ElemeFE#15738)

* PopupManager: fix z-index value cannot be rewritten at initial render (ElemeFE#15074)

* fix issue

* remove package.lock

* Avatar: Add avatar component (ElemeFE#16144)

* add avatar component

* 1. add test 2. add types 3. refine doc 4. add img attr

* add props in types and doc

* refine how image fit its container

* fix doc

* refine doc

* change default background color

* remote style demo from doc

* add theme

* add demo on theme preview and change var name

* Upload: add capability to customize thumbnail template (ElemeFE#13192)

* Avatar: Update theme config var (ElemeFE#16202)

* change css var

* avatar theme config

* refine style

* Docs: delete an incorrect closing html tag and empty block code (ElemeFE#16194)

* Docs: Update french translation  (ElemeFE#16208)

* First round of correction

* Second round

* Cascader and form translation

* Last big round of changes

* Update changelog

* Select: Fix default-first-option behavior when typing Chinese (ElemeFE#15431) (ElemeFE#15553)

* Select: Fix default-first-option behavior when typing Chinese (ElemeFE#15431)

* Select: Fix missing param transmit

* Select: callback style modify

* Docs: add description $slots.default (ElemeFE#15444)

* Select: fix double import problem (ElemeFE#16215)

* Table: fix reserve-selection not work (ElemeFE#16135)

* Table: fix reserve-selection not work

* fix

* changelog for 2.10.0 (ElemeFE#16221)

* [build] 2.10.0

* [release] 2.10.0

* Chore: update version (ElemeFE#16233)

* Chore: Update Dingtalk Group QR image (ElemeFE#16236)

* Chore: update index page theme intro english css style (ElemeFE#16254)

* Table: fix sort icon (ElemeFE#15439)

* Doc: update online theme roller doc (ElemeFE#16244)

* Table: fix layout breaks when append slot exists (ElemeFE#16332)

* Tag: compatible with IE (ElemeFE#16334)

* Table: register scrollbar in filter-panel (ElemeFE#16246)

* Table: fix showOverflowTooltip not reactive (ElemeFE#16295)

* Calendar: first-day-of-week is not supported when using custom ranges (ElemeFE#16235)

* Revert "Calendar: first-day-of-week is not supported when using custom ranges (ElemeFE#16235)" (ElemeFE#16353)

* Docs: Add 2.10.1 change log (ElemeFE#16357)

* I18n: Corrected translations of Uzbek language (ElemeFE#16226)

* corrected translations uzbek language

* fix translations uz-UZ after review

* Docs: Add 2.10.1 change log (ElemeFE#16362)

* [build] 2.10.1

* [release] 2.10.1

* Checkbox: enhance css selector (ElemeFE#16006)

* Docs: fix typo in table documents (ElemeFE#15971)

* Tree: make el-tree generic (ElemeFE#15934)

* Dropdown: fix split-button caret default color (ElemeFE#15931)

* Docs: Fix dropdown demo (ElemeFE#16193)

* Button: add compact size (ElemeFE#15895)

* Button: add compact size
* Docs: 極小 -> 极小

* Button: Revert adding compact size

This reverts commit 05fe6e6.

* fix ElemeFE#15838(文档图标不显示)

* Tree: set isCurrent prop to False (ElemeFE#15870)

* Cascader: fix level 1 children is empty update problem (ElemeFE#16399)

* Submenu: fix prop append-to-body . ElemeFE#16289

* Table: Fix tree table when updating data (ElemeFE#16481)

* Chore(deps): Bump lodash.mergewith from 4.6.1 to 4.6.2 (ElemeFE#16518)

Bumps [lodash.mergewith](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot[bot] <support@github.com>

* Chore(deps): Bump lodash from 4.17.11 to 4.17.14 (ElemeFE#16540)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>

* Chore: update theme base api (ElemeFE#16607)

* Chore: Mark ali inner user's access (ElemeFE#16609)

* Chore: update theme inner api

* Chore: update theme inner api

* Chore: text

* Chore: fix

* Chore: fix

* Calendar: Display correct header when range is specified (ElemeFE#16354)

* Calendar: display correct header when range is specified

* firstOfWeek is supported

* update docs

* update test

* update

* fix typo

* Select: Fix memory leak issue (ElemeFE#16463)

* Cascader: add sets default values when lazy is true (ElemeFE#16420)

* Chore: Fix doc anchor bug (ElemeFE#16692)

* update inner check (ElemeFE#16700)

* Form: Add theme token (ElemeFE#16699)

* add form label size token

* add form label size token

* InfiniteScroll: Update naming & doc (ElemeFE#16698)

* I18n: Update translation of Thai language (ElemeFE#16689)

* I18n: Update translation of Thai language

* refactor(I18n): Update translation of Thai language & remove comment

* Avatar: fix image not center vertically issue (ElemeFE#16489)

* Drawer: Add drawer component (ElemeFE#16577)

* Cascader: fix display errors (ElemeFE#15935)

* Dialog: add destroyOnClose attribute (ElemeFE#16455)

* Dialog: add destroyOnClose attribute

* update

* Cascader: expose getCheckedNodes and fix options change bug (ElemeFE#16709)

* Image: Add big Image preview feature (ElemeFE#16333) (ElemeFE#16605)

* Changelog: 2.11.0 (ElemeFE#16733)

* Chore: Update build folder (ElemeFE#16735)

* [build] 2.11.0

* [release] 2.11.0

* Chore: Update dart-sass compatibility

* Image: Fix image ssr (ElemeFE#16737) (ElemeFE#16747)

* fix ssr

* refine

* Chore: Changelog 2.11.1 (ElemeFE#16758)

* [build] 2.11.1

* [release] 2.11.1

* docs: update changelog (ElemeFE#16773)

* I18n: Remove translation of 'year' in catalan language as in the other languages (ElemeFE#14722)

Remove translation of 'year' in catalan language as in the other languages.

* Icon: Adding font-display to @font-face declaration (ElemeFE#16805)

* I18n: Update spanish changelog 2.10.0 and 2.10.1 (ElemeFE#16548)

* Carousel: Fix onChange emit value (ElemeFE#16705)

* Notification: Fix modifying incoming option object (ElemeFE#16704)

* Test: correct spelling error (ElemeFE#16672)

* I18n: Update ar.js (ElemeFE#16653)

* Date-Picker: add className picker option (ElemeFE#16632)

* add classname

* add docs

* add test

* add range picker

* update api name

* update api name

* update test

* Fix: httprequest type (ElemeFE#16633)

* docs: Update contributing guide (ElemeFE#14800)

* Tree: Increase css weight (ElemeFE#16799)

* Test: refactor unit test to use data-uri instead (ElemeFE#16847)

* DateTimePicker: fix time-spinner not scroll to right position

* Table: prevent click handler after drag (ElemeFE#16850)

* Tab: fix tabs-item's padding cause active-bar's width and transform err(  … ElemeFE#15355) (ElemeFE#16520)

* Tab: Refactor tabs-item's padding with dynamic value

* Docs: fix typo in Drawer docs (ElemeFE#16848)

* Calendar : Fix weekdays i18n issue (ElemeFE#16772)

* Popover: add close-delay prop (ElemeFE#16671)

* Input: Fix Korean composition event (ElemeFE#15069)

* Table: fix wrong empty block height (ElemeFE#16861)

* Chore: Theme Extension (ElemeFE#16686)

* Checkbox: Improve screen reader experience (ElemeFE#16575)

* Docs: Update custom theme (ElemeFE#16983)

* DOC: update spanish doc 2.11.1 (ElemeFE#16961)

* update spanish doc 2.11

* update spanish doc 2.11

* update spanish doc 2.11

* DOC: update spanish doc 2.11

* DOC: update spanish doc 2.11

* DOC: update spanish doc 2.11

* DOC: update spanish doc 2.11

* i18n: add Esperanto translation (ElemeFE#16955)

* Table: fix chrome crash when set thead css display to none (ElemeFE#16956)

* Cascader: fix display errors (ElemeFE#16665)

* Cascader: Fix disable status and close button issue (ElemeFE#16209)

* Input: the click event of clear button is not trigger when using v-loading (ElemeFE#16576)

* BackTop: use cubic bezier scrolling

* Tabs: fix activated tab is out of visual range bug (ElemeFE#17033)

* RadioGroup: not produce invalid HTML in table if "is" attribute is specify (ElemeFE#17070)

* Table: not throw error when calling toggleExpansion (ElemeFE#16304)

* Divider: Support custom classes (ElemeFE#17078)

* Table: not trigger sort-change event when mounted (ElemeFE#17113)

* Table: set toggleAllSelection as instance property (ElemeFE#17137)

* Dialog: update sass var (ElemeFE#16365)

* Docs: Update input-number document about change event (ElemeFE#16316) (ElemeFE#16966)

* Calendar: fix locale error

* Transfer: fix style error

* Chore(deps): Bump mixin-deep from 1.3.1 to 1.3.2 (ElemeFE#17211)

* Table: fix setCurrentRow unable to clear highlight row (ElemeFE#16879)

* Table: fix expand-row-keys not work when data is loaded asynchronously (ElemeFE#16899)

* Select: not toggle dropdown when filtering (ElemeFE#17205)

* changelog for 2.12.0 (ElemeFE#17218)

* chore: update folder (ElemeFE#17220)

* [build] 2.12.0

* [release] 2.12.0

* doc: fix time-select typo (ElemeFE#17250)

* DatePicker: fix bug of only select min date of date range problem (ElemeFE#17191) (ElemeFE#17207)

* [Select]: fix select test cases

* README: fix typo (ElemeFE#16952)

* Docs: fix Drawer attribute accepted value typo in es (ElemeFE#17122)

* add font-size for the style of tree empty-text (ElemeFE#17094)

* Avatar: remove no-used css-property (ElemeFE#16975)

* Table: column header can be costumed (ElemeFE#17291)

* Table: update table header cell style (ElemeFE#17284)

* Table: fix table header height after filter (ElemeFE#17348)

* Table: fixed row-style with display not work (ElemeFE#17002)

* update webpack config (ElemeFE#17373)

* Docs: update Spanish changelog 2.12.0 (ElemeFE#17364)

* Calendar: import el-button and el-button-group (ElemeFE#17376)

* MessageBox: fix icon position error (ElemeFE#17410)

* i18n: update locale es.js (ElemeFE#17419)

* TimePicker: Set the selection range after scrolling up or down (ElemeFE#16868)

* Chore: update readme Dingtalk QR code (ElemeFE#17656)

* Doc: Fix Changelog typo (ElemeFE#17874)

* Docs: Fix Loading demo (ElemeFE#17862) (ElemeFE#17863)

* Message: fix close instace offsetHeight(ElemeFE#17564) (ElemeFE#17852)

* I18n: Update avatar component fr doc (ElemeFE#17762)

* Form: callback of validateField should be optional (ElemeFE#17314)

* Cascader: fix TypeScript 3.7 compatibility (ElemeFE#17881)

Fix error: 导入声明与“CascaderOption”的局部声明冲突

* Menu: fix router NavigationDuplicated error when using vue-router@^3.1.0 (ElemeFE#17269)

* Menu: fix router NavigationDuplicated error when using vue-router@^3.1.0

* Better fix

* comment

* fix

* Popconfirm: Add popconfirm component (ElemeFE#17548)

* init

* init

* init docs

* init docs2

* init type

* update test

* update naming

* Dropdown: update type file (ElemeFE#17550)

* Chore: SSR test (ElemeFE#16797)

* init ssr test

* ssr test

* Progress: add strokeLinecap prop (ElemeFE#17552)

* Progress: add strokeLinecap prop

* update docs

* InfiniteScroll: Skip trigger event on invisible element (ElemeFE#17553)

* InfiniteScroll: Do not trigger event on invisible element

* InfiniteScroll: Do not trigger event on invisible element2

* Image: Perfect picture preview behavior (ElemeFE#16985) (ElemeFE#17375)

* Perfect picture preview function

* update test

* Avatar: recover removed css-property (ElemeFE#17372)

This reverts commit 10592d1.

* Image: Fix shield the page when preview big image (ElemeFE#16796) (ElemeFE#16997)

* Image: Fix shield the page when preview big image

* refine

* Image:fix page scroll when use image-viewer by keyup and keydown

* add notes

* Table: fix header table not display (ElemeFE#17341)

* I18n: Update sv-SE.js (ElemeFE#17926)

* Drawer: bugfix/drawer-append-to-body-not-working (ElemeFE#16953)

- 修复了 AppendToBody API 不管用的问题.
- 修复了展开动画会出现滚动条的问题
- 新增了一个新的 API `withHeader` 来控制是否显示 Header 栏
- 动画流畅度的一个小改动
- 对应文档的改动
- 对应单元测试的改动

* Select: Fix tag show value or empty issue (17199) (ElemeFE#17396)

* Select: Fix tag show value or empty issue

* update docs

* Docs:  add input event in input Events Table (ElemeFE#18061)

* docs: Input Events Table add input event

update input doc, add input event
the issue is ElemeFE#7592

* docs: update input docs and add input event

* docs: update input docs and add input event

* Docs: delete Input  repeat change event (ElemeFE#18085)

* fix: FF scroll bar width (ElemeFE#18091)

* Chore: Update Changelog (ElemeFE#18200)

* change log

* update sub folder

* [build] 2.13.0

* [release] 2.13.0

* fix: remove duplicate code

Co-authored-by: jiaxin <songjiaxin2008@gmail.com>
Co-authored-by: iamkun <kunhello@outlook.com>
Co-authored-by: Simona <36978416+SimonaliaChen@users.noreply.github.com>
Co-authored-by: lisheng <lisheng_token@outlook.com>
Co-authored-by: VanMess <694248616@qq.com>
Co-authored-by: lvjiaxuan <471501748@qq.com>
Co-authored-by: susiwen8 <susiwen8@gmail.com>
Co-authored-by: luckyCao <cao.lei1031@163.com>
Co-authored-by: OverTree <624109177@qq.com>
Co-authored-by: hetech <dengzhiyang123@126.com>
Co-authored-by: QianYu <443033099@qq.com>
Co-authored-by: Zhi Cun <island205@gmail.com>
Co-authored-by: MASONGZHI <511071161@qq.com>
Co-authored-by: infjer <infjer@126.com>
Co-authored-by: 史宽 <shikuan1992@gmail.com>
Co-authored-by: cl199793 <cl199793@alibaba-inc.com>
Co-authored-by: NateScarlet <NateScarlet@Gmail.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gonzalo Nandez <godan2310@yahoo.es>
Co-authored-by: Baptiste Lombard <17877656+blombard@users.noreply.github.com>
Co-authored-by: Giovane Souza <giovane.bds@gmail.com>
Co-authored-by: Inside <inside74@163.com>
Co-authored-by: likui <2218301630@qq.com>
Co-authored-by: 阿尔卑斯 <1503268691@qq.com>
Co-authored-by: pamenary <pamenary@gmail.com>
Co-authored-by: Haoran Yu <haoran_yu@hotmail.com>
Co-authored-by: lon <cnlon@users.noreply.github.com>
Co-authored-by: 花裤衩 <panfree23@gmail.com>
Co-authored-by: Matjaž Lipuš <matjazl@gmail.com>
Co-authored-by: Pan Peng <pape2006@qq.com>
Co-authored-by: Ogabek Yusupov <ogabekyusupov@gmail.com>
Co-authored-by: amedora <32722363+amedora@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: QingDeng <zrl412@163.com>
Co-authored-by: Victor Zhuk <victorzhuk@users.noreply.github.com>
Co-authored-by: Alexey Khrushch <alexeykhr@outlook.com>
Co-authored-by: wangpeng <lengband@163.com>
Co-authored-by: bezany <bezanyu@gmail.com>
Co-authored-by: Cr <631807682@qq.com>
Co-authored-by: Achilov Davronbek <achilov21@yandex.com>
Co-authored-by: Hazlank <401840614@qq.com>
Co-authored-by: Feng Hao <howiefh@gmail.com>
Co-authored-by: jeremywu <591449570@qq.com>
Co-authored-by: JuniorTour <juniortour@qq.com>
Co-authored-by: heartdream <40289489+webxmsj@users.noreply.github.com>
Co-authored-by: huming <100huming@gmail.com>
Co-authored-by: Ponkrit Eiamprasertkul <ponkrit13@gmail.com>
Co-authored-by: junyiz <junyime@qq.com>
Co-authored-by: LewisChennnnn <lewis.chen.qx@gmail.com>
Co-authored-by: Oscar Albareda <oscaralbareda@users.noreply.github.com>
Co-authored-by: Faizal Andyka <logustra@gmail.com>
Co-authored-by: 王浩 <boomler@hotmail.com>
Co-authored-by: Lukas <12974004+l3op@users.noreply.github.com>
Co-authored-by: Jeff Wen <sinchangwen@gmail.com>
Co-authored-by: jesse-li <lijiexi93@gmail.com>
Co-authored-by: 咸fish <victorting_2015@aliyun.com>
Co-authored-by: winkay <34124953+winkay@users.noreply.github.com>
Co-authored-by: SeongYeob Jeong <ubi.toffee@gmail.com>
Co-authored-by: LachlanStuart <26366936+LachlanStuart@users.noreply.github.com>
Co-authored-by: Moonhyuk Im <godmoon00@naver.com>
Co-authored-by: Tyler Trotter <tylertrotter@gmail.com>
Co-authored-by: Maksim Koryukov <maxkoryukov@users.noreply.github.com>
Co-authored-by: zhangHongEn <zhang_h_n@163.com>
Co-authored-by: lon <longhao.lhl@alibaba-inc.com>
Co-authored-by: Geass <nullptru@gmail.com>
Co-authored-by: Jiewei Qian <wacky6@users.noreply.github.com>
Co-authored-by: Kerwin Ch <smk0621@hotmail.com>
Co-authored-by: msidolphin <OoMass-EffectoO@hotmail.com>
Co-authored-by: 0xflotus <0xflotus@gmail.com>
Co-authored-by: wurong <w18801775254@163.com>
Co-authored-by: spengjie <spengjie@sina.com>
Co-authored-by: 不得不错 <hnsxxscyx@gmail.com>
Co-authored-by: Bryan Matthews <mattheyan@gmail.com>
Co-authored-by: 任立欣 <1060754972@qq.com>
Co-authored-by: Weiqi Wu <295290708@qq.com>
Co-authored-by: Gong <445722156@qq.com>
Co-authored-by: Carter Li <CarterLi@users.noreply.github.com>
Co-authored-by: Emil Ahlbäck <Emil.Ahlback99@gmail.com>
Co-authored-by: vimvinter <zhoudaxia5683@163.com>
lzq4047 pushed a commit to lzq4047/element that referenced this pull request May 22, 2020
@SKT-Shurima
Copy link

SKT-Shurima commented Jul 7, 2022

      presentText(val) {
        this.inputValue = val;
      },
  • 也就是说presentText 发生改变之后,会强制改变 inputValue
  • 那这样的话,v-model="multiple ? presentText : inputValue",这段代码的 multiple 的意义何在???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet