@cmstops/pro-compo 0.3.26 → 0.3.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -65,6 +65,8 @@ const _sfc_main = defineComponent({
65
65
  return _payload.relation_url;
66
66
  if (props.item.series === "app")
67
67
  return _payload.label;
68
+ if (props.item.series === "political")
69
+ return _payload.label;
68
70
  return "";
69
71
  });
70
72
  const mouseEnterFun = (event, row) => {
@@ -146,6 +146,9 @@ const _sfc_main = defineComponent({
146
146
  params.columns = props.type;
147
147
  }
148
148
  if (filter.value) {
149
+ if (!filter.value.columns) {
150
+ filter.value.columns = props.type;
151
+ }
149
152
  params = { ...params, ...filter.value };
150
153
  }
151
154
  if (gid !== "all") {
@@ -29,7 +29,10 @@ const _sfc_main = defineComponent({
29
29
  return openBlock(), createElementBlock("div", _hoisted_1, [
30
30
  createVNode(unref(Popover), {
31
31
  "arrow-style": { display: "none" },
32
- "content-style": { width: "420px" },
32
+ "content-style": {
33
+ width: "420px",
34
+ display: props.selectData.length ? "block" : "none"
35
+ },
33
36
  "content-class": "selected-store-box-popover-content",
34
37
  position: "tl",
35
38
  trigger: "click"
@@ -103,7 +106,7 @@ const _sfc_main = defineComponent({
103
106
  }, 8, ["count"])
104
107
  ]),
105
108
  _: 1
106
- })
109
+ }, 8, ["content-style"])
107
110
  ]);
108
111
  };
109
112
  }
@@ -66,6 +66,8 @@ const _sfc_main = vue.defineComponent({
66
66
  return _payload.relation_url;
67
67
  if (props.item.series === "app")
68
68
  return _payload.label;
69
+ if (props.item.series === "political")
70
+ return _payload.label;
69
71
  return "";
70
72
  });
71
73
  const mouseEnterFun = (event, row) => {
@@ -147,6 +147,9 @@ const _sfc_main = vue.defineComponent({
147
147
  params.columns = props.type;
148
148
  }
149
149
  if (filter.value) {
150
+ if (!filter.value.columns) {
151
+ filter.value.columns = props.type;
152
+ }
150
153
  params = { ...params, ...filter.value };
151
154
  }
152
155
  if (gid !== "all") {
@@ -30,7 +30,10 @@ const _sfc_main = vue.defineComponent({
30
30
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
31
31
  vue.createVNode(vue.unref(webVue.Popover), {
32
32
  "arrow-style": { display: "none" },
33
- "content-style": { width: "420px" },
33
+ "content-style": {
34
+ width: "420px",
35
+ display: props.selectData.length ? "block" : "none"
36
+ },
34
37
  "content-class": "selected-store-box-popover-content",
35
38
  position: "tl",
36
39
  trigger: "click"
@@ -104,7 +107,7 @@ const _sfc_main = vue.defineComponent({
104
107
  }, 8, ["count"])
105
108
  ]),
106
109
  _: 1
107
- })
110
+ }, 8, ["content-style"])
108
111
  ]);
109
112
  };
110
113
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmstops/pro-compo",
3
- "version": "0.3.26",
3
+ "version": "0.3.27",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vue",