dever 4 년 전
부모
커밋
41ea3dbcd4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/collection/database/page.php

+ 1 - 1
app/collection/database/page.php

@@ -139,7 +139,7 @@ return array
 		(
 			'type' 		=> 'int-11',
 			'name' 		=> '上级章节',
-			'default' 	=> '-1',
+			'default' 	=> $page_id,
 			'desc' 		=> '请选择上级章节',
 			'match' 	=> 'is_numeric',
 			'update'	=> $page_id < 0 ? 'hidden': 'select',