Przeglądaj źródła

Merge branch 'master' of http://192.168.0.115:3000/chenzhiguang/FD_Pano

tremble 3 lat temu
rodzic
commit
f10046a5bb

+ 2 - 2
src/views/material/audio/index.vue

@@ -315,7 +315,7 @@ export default {
           },
           () => { // 上传成功
             const index = this.uploadListForUI.findIndex((eachItem) => {
-              eachItem.uid === itemInUploadList.uid
+              return eachItem.uid === itemInUploadList.uid
             })
             this.uploadListForUI.splice(index, 1)
             this.refreshListDebounced()
@@ -323,7 +323,7 @@ export default {
           (err) => {
             if (err.statusText === 'abort') { // 用户取消了上传任务。
               const index = this.uploadListForUI.findIndex((eachItem) => {
-                eachItem.uid === itemInUploadList.uid
+                return eachItem.uid === itemInUploadList.uid
               })
               this.uploadListForUI.splice(index, 1)
             } else {

+ 2 - 2
src/views/material/image/index.vue

@@ -325,7 +325,7 @@ export default {
           },
           () => { // 上传成功
             const index = this.uploadListForUI.findIndex((eachItem) => {
-              eachItem.uid === itemInUploadList.uid
+              return eachItem.uid === itemInUploadList.uid
             })
             this.uploadListForUI.splice(index, 1)
             this.refreshListDebounced()
@@ -333,7 +333,7 @@ export default {
           (err) => {
             if (err.statusText === 'abort') { // 用户取消了上传任务。
               const index = this.uploadListForUI.findIndex((eachItem) => {
-                eachItem.uid === itemInUploadList.uid
+                return eachItem.uid === itemInUploadList.uid
               })
               this.uploadListForUI.splice(index, 1)
             } else {

+ 1 - 1
src/views/material/pano/index.vue

@@ -487,7 +487,7 @@ export default {
           (err) => {
             if (err.statusText === 'abort') { // 用户取消了上传任务。
               const index = this.uploadListForUI.findIndex((eachItem) => {
-                eachItem.uid === itemInUploadList.uid
+                return eachItem.uid === itemInUploadList.uid
               })
               this.uploadListForUI.splice(index, 1)
             } else {

+ 2 - 2
src/views/material/video/index.vue

@@ -320,7 +320,7 @@ export default {
           },
           () => { // 上传成功
             const index = this.uploadListForUI.findIndex((eachItem) => {
-              eachItem.uid === itemInUploadList.uid
+              return eachItem.uid === itemInUploadList.uid
             })
             this.uploadListForUI.splice(index, 1)
             this.refreshListDebounced()
@@ -328,7 +328,7 @@ export default {
           (err) => {
             if (err.statusText === 'abort') { // 用户取消了上传任务。
               const index = this.uploadListForUI.findIndex((eachItem) => {
-                eachItem.uid === itemInUploadList.uid
+                return eachItem.uid === itemInUploadList.uid
               })
               this.uploadListForUI.splice(index, 1)
             } else {