作者 lyh

gx

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