@peng_kai/kit 0.3.0-beta.2 → 0.3.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/admin/styles/index.scss
CHANGED
|
@@ -95,11 +95,11 @@ export function useAntdModal<Comp extends Component>(
|
|
|
95
95
|
};
|
|
96
96
|
|
|
97
97
|
const PresetComponent = defineComponent({
|
|
98
|
-
setup() {
|
|
98
|
+
setup(props) {
|
|
99
99
|
onMounted(() => _modalProps.opener?.(open as any));
|
|
100
100
|
|
|
101
101
|
return () => {
|
|
102
|
-
return createVNode(AntModal, _modalProps, {
|
|
102
|
+
return createVNode(AntModal, { ..._modalProps, ...props }, {
|
|
103
103
|
[modalSlotName]: () => createVNode(_comp.is, compProps as any),
|
|
104
104
|
});
|
|
105
105
|
};
|