st-comp 0.0.153 → 0.0.154

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "st-comp",
3
3
  "public": true,
4
- "version": "0.0.153",
4
+ "version": "0.0.154",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -97,7 +97,7 @@ const clickIndicator = (item) => {
97
97
  case "perVolumn": {
98
98
  indicatorValue.value = {
99
99
  ...baseParams,
100
- radio: 'last12MonthVolumn',
100
+ radio: null,
101
101
  levels: [],
102
102
  };
103
103
  break;
@@ -179,6 +179,7 @@ const submitDialog = () => {
179
179
  case "perVolumn": {
180
180
  const { label, radio, levels } = indicatorValue.value;
181
181
  // 校验
182
+ if (!radio) return ElMessage.warning("格式错误: 请选择时间");
182
183
  if (!levels?.length) return ElMessage.warning("格式错误: 请选择分位");
183
184
  // 格式化文案
184
185
  indicatorValue.value.tagText = `${label}: ${