mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 05:29:01 +08:00
Merge branch 'next' of github.com:vueComponent/ant-design-vue into next
This commit is contained in:
commit
00455da385
@ -27,12 +27,13 @@ export default defineComponent({
|
||||
large: 'lg',
|
||||
small: 'sm',
|
||||
},
|
||||
sLoading: !!this.loading,
|
||||
sLoading: false,
|
||||
hasTwoCNChar: false,
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
loading(val, preVal) {
|
||||
loading: {
|
||||
handler(val, preVal) {
|
||||
if (preVal && typeof preVal !== 'boolean') {
|
||||
clearTimeout(this.delayTimeout);
|
||||
}
|
||||
@ -44,6 +45,8 @@ export default defineComponent({
|
||||
this.sLoading = !!val;
|
||||
}
|
||||
},
|
||||
immediate: true,
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.fixTwoCNChar();
|
||||
|
Loading…
Reference in New Issue
Block a user