Fix bug and README.md update

This commit is contained in:
xiaoma committed 2021-09-18 17:49:04 +08:00
1 parent 531a31ee5d
commit d1635add5f
10 files changed
+60 -12

No files matched your search

+5
View File
@@ -50,6 +50,11 @@
return { ...props, ...(unref(propsRef) as any) };
});
const subBtuText = computed(() => {
const { subBtuText } = propsRef.value as any
return subBtuText;
})
async function setProps(modalProps: Partial<ModalProps>): Promise<void> {
propsRef.value = deepMerge(unref(propsRef) || ({} as any), modalProps);
}