-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
1.3.10
Environment
Vue version 2.6.10
Reproduction link
https://vue.ant.design/components/form-cn/
Steps to reproduce
主要的是 v-decorator 当切换语言时,提示内容没有变更
代码如下:
<a-date-picker
style="width: 100%"
:showTime="showTime"
:format="format"
:placeholder="$t('startTip')"
:disabledDate="startDisabledDate"
v-decorator="['startTime', startRule]"
/>
computed: {
startRule() {
return {
rules: [
{
required: true,
message: () => this.$t('startTip')
}
]
}
},
}
What is expected?
Language can be switched
What is actually happening?
Language can be switched