Преглед на файлове

弹窗组件内,图例,上送参数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,