소스 검색

清表列表清理多余key值

admin 3 년 전
부모
커밋
b3606c173c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/exctab/excelmodel/excelmodel.vue

+ 2 - 2
src/views/exctab/excelmodel/excelmodel.vue

@@ -657,9 +657,9 @@ export default {
         if (valid) {
           let linkDataInfo = []
           if (this.tableList.length > 0) {
-            this.tableList.forEach((val, index) => {
+            this.tableList.forEach(val => {
               let linkIds = ''
-              val.arrs.forEach((da, key) => {
+              val.arrs.forEach(da => {
                 if (da.isLinkTable != da.changeTable) {
                   linkIds = `${linkIds}${linkIds != '' ? ',' : ''}${da.id}`
                 }