st-comp 0.0.130 → 0.0.131
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/es/VarietySearch.cjs +1 -1
- package/es/VarietySearch.js +896 -897
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +86 -86
- package/lib/{index-e645ca49.js → index-6c71f7fa.js} +1148 -1149
- package/lib/{python-4970eb41.js → python-0518e659.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/VarietySearch/index.vue +4 -10
package/package.json
CHANGED
|
@@ -151,8 +151,7 @@ watch(
|
|
|
151
151
|
defineExpose({
|
|
152
152
|
// 生成接口传参结构的数据
|
|
153
153
|
formatData: (data) => {
|
|
154
|
-
console.log("%c[品种池搜索聚合组件]:
|
|
155
|
-
let validateFlag = true;
|
|
154
|
+
console.log("%c[品种池搜索聚合组件]: 正在生成接口传参...", "color: tomato");
|
|
156
155
|
const params = {};
|
|
157
156
|
// 1.品种市场
|
|
158
157
|
if (data.varietyMarket) {
|
|
@@ -176,13 +175,8 @@ defineExpose({
|
|
|
176
175
|
const { type, jcList } = jcTranslate;
|
|
177
176
|
switch (type) {
|
|
178
177
|
case 1: {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
validateFlag = false;
|
|
182
|
-
} else {
|
|
183
|
-
params.translateType = 1;
|
|
184
|
-
params.jcType = jcList.join(",");
|
|
185
|
-
}
|
|
178
|
+
params.translateType = 1;
|
|
179
|
+
params.jcType = jcList.join(",");
|
|
186
180
|
break;
|
|
187
181
|
}
|
|
188
182
|
case 2: {
|
|
@@ -411,7 +405,7 @@ defineExpose({
|
|
|
411
405
|
}
|
|
412
406
|
}
|
|
413
407
|
console.log("%c[品种池搜索聚合组件]: 接口传参数据生成完毕", "color: green", params);
|
|
414
|
-
return
|
|
408
|
+
return params;
|
|
415
409
|
},
|
|
416
410
|
// 重置函数
|
|
417
411
|
reset: () => {
|