Browse Source

弹窗组件内,图例,上送参数categoryId修改

yx 4 years ago
parent
commit
114277e57b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/Legend/src/legend.vue

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

@@ -350,7 +350,7 @@ export default {
             let categoryId = this.categoryId || this.$cookie.get('categoryId')
             // console.log('queryView', this.innerLeng, categoryId)
             let data = {
-                categoryId: this.$cookie.get('categoryId'),
+                categoryId,
                 graphId: this.$cookie.get('graphId'),
                 projectId: this.$store.state.plazaId,
                 flag: flag,
@@ -398,7 +398,7 @@ export default {
             let categoryId = this.categoryId || this.$cookie.get('categoryId')
             // console.log('queryEditNum', categoryId)
             let data = {
-                categoryId: this.$cookie.get('categoryId'),
+                categoryId,
                 graphId: this.$cookie.get('graphId'),
                 projectId: this.$store.state.plazaId,
                 flag: flag,