浏览代码

发布&回滚:重新拉取数据修复

洪海涛 4 年之前
父节点
当前提交
d9af7d9f8d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/store/modules/monthlyReport/edit/index.js

+ 2 - 2
src/store/modules/monthlyReport/edit/index.js

@@ -898,9 +898,9 @@ export default {
           arr.forEach((elm) => {
             if (elm.domKey === domKey) {
               // console.log(elm, res.data)
-              if (title.search(/上月问题跟进|发布&回滚|线上问题|线上问题/) > -1) {
+              if (title.search(/上月问题跟进|线上问题/) > -1) {
                 elm.content = [{ ...res.data.content[0] }]
-              } else if (title.search(/线下缺陷/) > -1) {
+              } else if (title.search(/线下缺陷|发布&回滚/) > -1) {
                 elm.content = [{ ...res.data.content[0] }]
                 elm.subTitles = [...res.data.subTitles]
               } else {