修改bug

This commit is contained in:
zhujiyan
2024-10-30 15:02:25 +08:00
parent 038b5275ea
commit 45942b3205
15 changed files with 57 additions and 483 deletions

View File

@@ -52,7 +52,7 @@
</div>
</template>
<script lang="ts" setup>
import { ref, onMounted, defineExpose, defineProps, onBeforeUnmount, onUnmounted, defineEmits, watch } from 'vue'
import { ref, onMounted, defineExpose, onUnmounted, defineEmits } from 'vue'
import {
getFileServiceFileOrDir,
downLoadDeviceFile,
@@ -111,8 +111,6 @@ const handleDownLoad = () => {
downLoadDeviceFile(obj)
.then((res: any) => {
if (res.code == 'A0000') {
console.log(res, '00000')
// downLoadFile(res.data).then((resp: any) => {
// if (resp.type != 'application/json') {
// // 'application/vnd.ms-excel'
@@ -158,7 +156,6 @@ const setStatus = (val: any) => {
downLoading.value=true
if (status.value == 100) {
downLoadDeviceFilePath({ nDid: fileData.value.nDid, name: fileData.value.prjDataPath }).then((ress: any) => {
console.log(ress, 'a7778888881111')
if (ress.code == 'A0000') {
downLoadFile(ress.data).then((resp: any) => {
if (resp.type != 'application/json') {