Selaa lähdekoodia

删除图片校验数组长度

DESKTOP-SVI9JE1\muzen 2 vuotta sitten
vanhempi
commit
af977c5a62
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      src/pages/help/index.vue

+ 1 - 0
src/pages/help/index.vue

@@ -92,6 +92,7 @@ export default {
     // 删除按钮
     getDelete(index) {
       this.imageFiles.splice(index, 1)
+      this.length = this.imageFiles.length
     },
 
     // 提交