code refactor

This commit is contained in:
MaysWind
2024-09-01 00:40:49 +08:00
parent 09ddf53b01
commit 4e365f54af
10 changed files with 25 additions and 18 deletions
@@ -671,7 +671,7 @@ export default {
return false;
}
return !isArray(this.transaction.pictures) || this.transaction.pictures.length < 10;
return !isArray(this.transaction.pictures) || this.transaction.pictures.length < transactionConstants.maxPictureCount;
},
mapProvider() {
return getMapProvider();
+1 -1
View File
@@ -790,7 +790,7 @@ export default {
return false;
}
return !isArray(this.transaction.pictures) || this.transaction.pictures.length < 10;
return !isArray(this.transaction.pictures) || this.transaction.pictures.length < transactionConstants.maxPictureCount;
},
mapProvider() {
return getMapProvider();