Skip to content

Commit fd40f71

Browse files
authored
Merge pull request #6 from vueComponent/next
mg from next
2 parents af1f413 + 335155e commit fd40f71

File tree

14 files changed

+55
-16
lines changed

14 files changed

+55
-16
lines changed

.github/workflows/need-reproduce.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
with:
1515
issue-number: ${{ github.event.issue.number }}
1616
body: |
17-
Hello @${{ github.event.issue.user.login }}. Please provide a online reproduction by forking this [link](https://codesandbox.io/s/2wpk21kzvr) or a minimal GitHub repository.Make sure to choose the correct version.
18-
19-
你好 @${{ github.event.issue.user.login }}, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 [此处](https://codesandbox.io/s/2wpk21kzvr) 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。
17+
Hello @${{ github.event.issue.user.login }}. Please provide a online reproduction by forking this [link for vue2](https://codesandbox.io/s/2wpk21kzvr)、 [link for vue3](https://codesandbox.io/s/agitated-franklin-1w72v) or a minimal GitHub repository.Make sure to choose the correct version.
18+
19+
你好 @${{ github.event.issue.user.login }}, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 [此处 for vue2](https://codesandbox.io/s/2wpk21kzvr)、 [此处 for vue3](https://codesandbox.io/s/agitated-franklin-1w72v) 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。

CHANGELOG.en-US.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,25 @@
1010

1111
---
1212

13+
## 2.0.0-rc.2
14+
15+
`2020-11-24`
16+
17+
- 🌟 Optimize Menu performance, enable lazy loading by default [#3243](https://github.com/vueComponent/ant-design-vue/pull/3243)
18+
- 🌟 Tag supports defining icon via slot [#3185](https://github.com/vueComponent/ant-design-vue/pull/3185)
19+
- 🌟 Small type table changed to borderless [#3221](https://github.com/vueComponent/ant-design-vue/issues/3221)
20+
- 🌟 @ant-design/icons-vue upgraded to 5.1.6, support SSR, support spin attribute shorthand
21+
- 🐞 Fix the style problem of Alert's close button in Safari [#3184](https://github.com/vueComponent/ant-design-vue/issues/3184)
22+
- 🐞 Fix the problem of Notification top attribute type error [#3187](https://github.com/vueComponent/ant-design-vue/issues/3187)
23+
- 🐞 Fix DirectoryTree custom icon does not take effect [#3183](https://github.com/vueComponent/ant-design-vue/issues/3183)
24+
- 🐞 Fix Button loading delay not taking effect [#3194](https://github.com/vueComponent/ant-design-vue/issues/3194)
25+
- 💄 Select optionFilterProp no longer supports filtering by children [#3204](https://github.com/vueComponent/ant-design-vue/issues/3204)
26+
- 🐞 Fix Select labelInValue error when reporting [#3216](https://github.com/vueComponent/ant-design-vue/issues/3216)
27+
- 🐞 Fix ConfigProvider transformCellText missing issue [#3206](https://github.com/vueComponent/ant-design-vue/issues/3206)
28+
- 🐞 Fix the style disorder problem when Dropdown Button is mixed together [#3244](https://github.com/vueComponent/ant-design-vue/issues/3244)
29+
- 🐞 Fix RangePicker custom width invalidation issue [#3244](https://github.com/vueComponent/ant-design-vue/issues/3245)
30+
- 🐞 Fix multiple errors or missing Ts types
31+
1332
## 2.0.0-rc.1
1433

1534
`2020-11-14`

CHANGELOG.zh-CN.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,26 @@
1010

1111
---
1212

13+
14+
## 2.0.0-rc.2
15+
16+
`2020-11-24`
17+
18+
- 🌟 优化 Menu 性能,默认开启懒加载 [#3243](https://github.com/vueComponent/ant-design-vue/pull/3243)
19+
- 🌟 Tag 支持通过 slot 定义 icon [#3185](https://github.com/vueComponent/ant-design-vue/pull/3185)
20+
- 🌟 small 类型的 table 改成无边框 [#3221](https://github.com/vueComponent/ant-design-vue/issues/3221)
21+
- 🌟 @ant-design/icons-vue 升级到 5.1.6,支持 SSR,支持 spin 属性简写
22+
- 🐞 修复 Alert 的关闭按钮在 Safari 下样式问题 [#3184](https://github.com/vueComponent/ant-design-vue/issues/3184)
23+
- 🐞 修复 Notification top 属性类型错误问题 [#3187](https://github.com/vueComponent/ant-design-vue/issues/3187)
24+
- 🐞 修复 DirectoryTree 自定义图标不生效问题 [#3183](https://github.com/vueComponent/ant-design-vue/issues/3183)
25+
- 🐞 修复 Button loading delay 不生效问题 [#3194](https://github.com/vueComponent/ant-design-vue/issues/3194)
26+
- 💄 Select optionFilterProp 不在支持按照 children 来过滤 [#3204](https://github.com/vueComponent/ant-design-vue/issues/3204)
27+
- 🐞 修复 Select labelInValue 时报错问题 [#3216](https://github.com/vueComponent/ant-design-vue/issues/3216)
28+
- 🐞 修复 ConfigProvider transformCellText 丢失问题 [#3206](https://github.com/vueComponent/ant-design-vue/issues/3206)
29+
- 🐞 修复 Dropdown Button 混合使用时,样式错乱问题 [#3244](https://github.com/vueComponent/ant-design-vue/issues/3244)
30+
- 🐞 修复 RangePicker 自定义宽度失效问题 [#3244](https://github.com/vueComponent/ant-design-vue/issues/3245)
31+
- 🐞 修复多处 Ts 类型错误或缺失问题
32+
1333
## 2.0.0-rc.1
1434

1535
`2020-11-14`

antdv-demo

components/date-picker/RangePicker.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ export default defineComponent({
374374
onInputSelect: this.handleCalendarInputSelect,
375375
class: calendarClassName,
376376
};
377-
const calendar = <RangeCalendar {...rangeCalendarProps} vSlots={$slots} />;
377+
const calendar = <RangeCalendar {...rangeCalendarProps} v-slots={$slots} />;
378378

379379
// default width for showTime
380380
const pickerStyle: CSSProperties = {};
@@ -438,7 +438,7 @@ export default defineComponent({
438438
onMouseleave={this.onMouseLeave}
439439
{...getDataAndAriaProps(props)}
440440
>
441-
<VcDatePicker {...vcDatePickerProps} vSlots={{ default: input, ...$slots }}></VcDatePicker>
441+
<VcDatePicker {...vcDatePickerProps} v-slots={{ default: input, ...$slots }}></VcDatePicker>
442442
</span>
443443
);
444444
},

components/date-picker/createPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export default function createPicker<P>(
197197
onChange: this.handleCalendarChange,
198198
class: calendarClassName,
199199
};
200-
const calendar = <TheCalendar {...theCalendarProps} vSlots={$slots} />;
200+
const calendar = <TheCalendar {...theCalendarProps} v-slots={$slots} />;
201201

202202
const clearIcon =
203203
!props.disabled && props.allowClear && value ? (

components/date-picker/wrapPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ export default function wrapPicker<P>(
226226
onCalendarChange: this.handleCalendarChange,
227227
ref: this.savePicker,
228228
};
229-
return <Picker {...pickerProps} vSlots={this.$slots} />;
229+
return <Picker {...pickerProps} v-slots={this.$slots} />;
230230
},
231231
},
232232

components/tree-select/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ const TreeSelect = defineComponent({
190190
return (
191191
<VcTreeSelect
192192
{...VcTreeSelectProps}
193-
vSlots={omit(this.$slots, ['default'])}
193+
v-slots={omit(this.$slots, ['default'])}
194194
__propsSymbol__={[]}
195195
/>
196196
);

components/vc-select/examples/multiple.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ for (let i = 10; i < 36; i += 1) {
1010
key={i.toString(36) + i}
1111
disabled={i === 10}
1212
title={`中文${i}`}
13-
vSlots={{ default: () => `中文${i}` }}
13+
v-slots={{ default: () => `中文${i}` }}
1414
></Option>,
1515
);
1616
}

components/vc-slick/src/slider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,6 @@ export default defineComponent({
195195
children: newChildren,
196196
ref: this.innerSliderRefHandler,
197197
};
198-
return <InnerSlider {...sliderProps} vSlots={this.$slots} __propsSymbol__={[]} />;
198+
return <InnerSlider {...sliderProps} v-slots={this.$slots} __propsSymbol__={[]} />;
199199
},
200200
});

0 commit comments

Comments
 (0)