Explorar el Código

fix: loading问题

Rmengdi hace 8 meses
padre
commit
7400835e01
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      pdaaphm-ui/src/views/index.vue

+ 1 - 0
pdaaphm-ui/src/views/index.vue

@@ -401,6 +401,7 @@ export default {
       getData(resultDataId).then(res => {
         if (res.data.imagePath) {
           this.imgPreviewUrl=res.data.imagePath
+          this.loading = false
         } else {
           const url = process.env.VUE_APP_BASE_API + res.data.dataPath;
           this.fetchLogFile(url)