Browse Source

Merge branch 'dev/v4.9.87_yf' of qmx/jy into feature/v4.9.91

yangfeng 6 months ago
parent
commit
2bccc589bd
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/web/staticres/dataExport/js/conditions_order.js

+ 4 - 0
src/web/staticres/dataExport/js/conditions_order.js

@@ -639,6 +639,10 @@ $('.new-box .new-confirm').click(function () {
   // console.log(editIndex, text, appendArr, excludeArr, 'editIndex');
 
   var keyTemArr = window[arr] || []
+  if(!Array.isArray(keyTemArr)) {
+    window[arr] = []
+    keyTemArr = window[arr]
+  }
   if (type === 'edit') {
     // 如果是修改操作
     keyAllArr[editIndex].name = text