作者 lyh

gx

@@ -178,7 +178,7 @@ class ReplaceHtmlLogic extends BaseLogic @@ -178,7 +178,7 @@ class ReplaceHtmlLogic extends BaseLogic
178 } 178 }
179 if($info['source'] == 0){//当前数据是替换的所有页面 179 if($info['source'] == 0){//当前数据是替换的所有页面
180 $data = $this->sourceTypeInfo($info['project_id']); 180 $data = $this->sourceTypeInfo($info['project_id']);
181 - $typeInfo = $data[$this->param['name']]; 181 + $typeInfo = $data[$this->param['name'] ?? '所有页面'];
182 if($typeInfo['source'] != 0){//回滚页面 182 if($typeInfo['source'] != 0){//回滚页面
183 $info['source'] = $typeInfo['source']; 183 $info['source'] = $typeInfo['source'];
184 $info['is_custom'] = $typeInfo['is_custom']; 184 $info['is_custom'] = $typeInfo['is_custom'];