wujingjing
2024-09-20 635c207f171dcfa5dbb03422d807f12c786da354
src/views/project/yw/lowCode/sqlAmis/edit/SqlAmisEdit.vue
@@ -175,6 +175,8 @@
   firstKeyList.map((key, index, array) => {
      const value = JSON.stringify(first[key]);
      comment += `-- "${key}": ${value}\n`;
      // 最后一个再换行
      comment += index === array.length - 1 ? '\n' : '';
   });
   // 已经存在,一定要替换成最新的