mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 03:58:05 +08:00
fix: image delete error
This commit is contained in:
parent
7c35bcfece
commit
925a8f6ee5
@ -187,7 +187,9 @@ const ImageInternal = defineComponent({
|
||||
{ flush: 'post', immediate: true },
|
||||
);
|
||||
});
|
||||
onUnmounted(unRegister);
|
||||
onUnmounted(() => {
|
||||
unRegister();
|
||||
});
|
||||
const toSizePx = (l: number | string) => {
|
||||
if (isNumber(l)) return l + 'px';
|
||||
return l;
|
||||
|
Loading…
Reference in New Issue
Block a user