Parcourir la source

fix string toLowerCase bug

haojianlong il y a 5 ans
Parent
commit
de790eabb6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/components/business_space/newTables/eqToSpaceTable.vue

+ 1 - 1
src/components/business_space/newTables/eqToSpaceTable.vue

@@ -133,7 +133,7 @@ export default {
           Filters: `RoomID='${this.params.RoomID}'`,
           Cascade: [
             {
-              Name: this.type.toLowerCase(),
+              Name: this.type.replace(this.type[0], this.type[0].toLowerCase()),
               Cascade: [{ Name: 'equipCategory' }]
             }
           ]