소스 검색

Filters中projectId加单引号

yunxing 4 년 전
부모
커밋
65730ed264
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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']