文件服务修改
This commit is contained in:
@@ -6,9 +6,10 @@
|
||||
<div class="progress_left">
|
||||
正在下载:
|
||||
{{
|
||||
fileData?.prjDataPath
|
||||
? fileData?.prjDataPath.split('/')[fileData?.prjDataPath.split('/').length - 1]
|
||||
: '/'
|
||||
// fileData?.prjDataPath
|
||||
// ? fileData?.prjDataPath.split('/')[fileData?.prjDataPath.split('/').length - 1]
|
||||
// : '/'
|
||||
fileName
|
||||
}}
|
||||
</div>
|
||||
<div class="progress_right">
|
||||
@@ -125,8 +126,10 @@ const handleDownLoad = () => {
|
||||
onMounted(() => {})
|
||||
onUnmounted(() => {})
|
||||
const status = ref(0)
|
||||
const fileName=ref('')
|
||||
const setStatus = (val: any) => {
|
||||
status.value = val
|
||||
status.value = parseInt(Number((val.nowStep / val.allStep) * 100))
|
||||
fileName.value = val.fileName
|
||||
}
|
||||
defineExpose({ open, setStatus })
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user