修改bug
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user