zhouna 5 лет назад
Родитель
Сommit
ecfd5311af
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/store/async-actions/fetchModules.js

+ 1 - 1
src/store/async-actions/fetchModules.js

@@ -203,7 +203,7 @@ export function setOtherHisModule(){
     const otherModel = initData.otherHisModel;
     const block = Object.assign(JSON.parse(config.textLabel),{full:true});
     const mode = state.typeConfig.typeConfig;
-    const model = otherModel&&otherModel.length>0?[...otherModel]:[block];     //其他史模板,没有模板数据则显示一个空文本标签
+    const model = otherModel&&otherModel.length>0?deepClone(otherModel):[block];     //其他史模板,没有模板数据则显示一个空文本标签
     const arr = deepClone(initData.otherHis);        //最近其他史数据
     const arrSave = deepClone(initData.otherHisSave);    //最近其他史saveText
     const selects = initData.otherSelecteds?[...initData.otherSelecteds]:[];  //其他史杂音类选中项