dever 4 年之前
父节点
当前提交
a015d0d99c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/collection/database/times.php

+ 2 - 2
app/collection/database/times.php

@@ -52,11 +52,11 @@ return array
 		'year'		=> array
 		(
 			'type' 		=> 'int-11',
-			'name' 		=> '年份-影响当前时光下所有发布内容的时间',
+			'name' 		=> '年份-影响当前时光下所有发布内容的时间,主线无需填写',
 			'default' 	=> '',
 			'desc' 		=> '年份',
 			'match' 	=> 'is_numeric',
-			'update'	=> 'year',
+			'update'    => $times_id < 0 ? 'hidden': 'year',
 			'search'	=> 'text',
 			'order'		=> 'desc',
 			'list'		=> true,