Browse Source

Filters中projectId加单引号

yunxing 4 years ago
parent
commit
65730ed264
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/components/Legend/src/legend.vue
  2. 1 1
      src/components/menuList.vue

+ 1 - 1
src/components/Legend/src/legend.vue

@@ -171,7 +171,7 @@ export default {
                 floorId = this.$cookie.get('floorMapId'),
                 data = {
                     Distinct: true,
-                    Filters: `projectId=${this.plazaId};isPub=false;floorId='${floorId}'`,
+                    Filters: `projectId='${this.plazaId}';isPub=false;floorId='${floorId}'`,
                     PageNumber: 1,
                     PageSize: 500,
                     Projection: ['floorId']

+ 1 - 1
src/components/menuList.vue

@@ -101,7 +101,7 @@ export default {
             let res = null,
                 data = {
                     Distinct: true,
-                    Filters: `projectId=${this.plazaId};isPub=false`,
+                    Filters: `projectId='${this.plazaId}';isPub=false`,
                     PageNumber: 1,
                     PageSize: 500,
                     Projection: ['floorId']