浏览代码

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

yx 4 年之前
父节点
当前提交
114277e57b
共有 1 个文件被更改,包括 2 次插入2 次删除
  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,