mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-12 01:02:27 +08:00
Fix bug and README.md update
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user