mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-04 13:42:27 +08:00
fix: 修复错误
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<n-notification-provider>
|
||||
<n-message-provider>
|
||||
<MessageContent />
|
||||
<slot slot="default"></slot>
|
||||
<slot name="default"></slot>
|
||||
</n-message-provider>
|
||||
</n-notification-provider>
|
||||
</n-dialog-provider>
|
||||
|
||||
@@ -230,7 +230,6 @@
|
||||
});
|
||||
|
||||
const { handleFormValues, initDefault } = useFormValues({
|
||||
getProps,
|
||||
defaultFormModel,
|
||||
getSchema,
|
||||
formModel,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ComponentType } from '/types/index';
|
||||
import { ComponentType } from './types/index';
|
||||
|
||||
/**
|
||||
* @description: 生成placeholder
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
const props = defineProps({ ...basicProps });
|
||||
const emit = defineEmits(['on-close', 'on-ok', 'register']);
|
||||
|
||||
const propsRef = ref(<Partial<ModalProps> | null>null);
|
||||
const propsRef = ref<Partial<ModalProps> | null>(null);
|
||||
|
||||
const isModal = ref(false);
|
||||
const subLoading = ref(false);
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
watch(
|
||||
() => props.value,
|
||||
() => {
|
||||
imgList.value = props.value.map((item) => {
|
||||
state.imgList = props.value.map((item) => {
|
||||
return getImgUrl(item);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user