|
@ -206,6 +206,17 @@ const props = defineProps({ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
watch( |
|
|
|
|
|
() => props.url, |
|
|
|
|
|
() => { |
|
|
|
|
|
importUrl.value = getBaseUrl() + import.meta.env.VITE_API_URL + props.url |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
deep: true |
|
|
|
|
|
} |
|
|
|
|
|
) |
|
|
const importTemplateData = ref(props.importTemplateData) |
|
|
const importTemplateData = ref(props.importTemplateData) |
|
|
const accept = ref(props.accept) |
|
|
const accept = ref(props.accept) |
|
|
const mode = ref(props.mode) //是否更新已经存在的用户数据.默认值是1 |
|
|
const mode = ref(props.mode) //是否更新已经存在的用户数据.默认值是1 |
|
@ -215,7 +226,7 @@ const coverIsDisable = ref(props.coverIsDisable) //覆盖是否禁用,默认值 |
|
|
const updatePart = ref(props.updatePart) //是否部门保存 |
|
|
const updatePart = ref(props.updatePart) //是否部门保存 |
|
|
const outFile = ref(props.outFile) //是否引入外部资源 |
|
|
const outFile = ref(props.outFile) //是否引入外部资源 |
|
|
|
|
|
|
|
|
const importUrl = getBaseUrl() + import.meta.env.VITE_API_URL + props.url |
|
|
const importUrl = ref(getBaseUrl() + import.meta.env.VITE_API_URL + props.url) |
|
|
|
|
|
|
|
|
/** 打开弹窗 */ |
|
|
/** 打开弹窗 */ |
|
|
const open = () => { |
|
|
const open = () => { |
|
|