gcs-ui-lib 1.2.20 → 1.2.21

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,6 +1,6 @@
1
1
  {
2
2
  "name": "gcs-ui-lib",
3
- "version": "1.2.20",
3
+ "version": "1.2.21",
4
4
  "private": false,
5
5
  "main": "./lib/gcs-ui-lib.common.js",
6
6
  "scripts": {
@@ -256,13 +256,13 @@ export default {
256
256
  //给每个对象加disabled属性
257
257
  // && it.flowDir=='+'
258
258
  handleData(arr) {
259
- const tpl = this.settingSource == "1" ? "+" : "-";
259
+ const tpl = [this.settingSource == "1" ? "+" : "-",'other'];
260
260
 
261
261
  arr?.forEach((it) => {
262
262
  if (
263
263
  it.inputMethod == "INPUT" &&
264
264
  (it.children == null || it.children.length == 0) &&
265
- it.flowDir == tpl
265
+ tpl.includes(it.flowDir)
266
266
  ) {
267
267
  it.disabled = false;
268
268
  } else {