This commit is contained in:
2025-09-08 17:16:00 +08:00
parent bc8c15a3a9
commit fe8bce4b4c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ class SysDictItemService
return $config; return $config;
} }
public $translatFields = ['item_label']; public $translatFields = ['item_label','remark'];
public function afterServiceStore($res) public function afterServiceStore($res)
{ {
+1 -1
View File
@@ -40,7 +40,7 @@ class SysDictItemTranslation extends Model
/** /**
* 允许自动填充模型字段 * 允许自动填充模型字段
*/ */
protected $fillable = ['id', 'dict_id', 'locale', 'dict_name', 'description', 'created_at', 'updated_at']; protected $fillable = ['id', 'dict_id', 'remark', 'locale', 'dict_name', 'description', 'created_at', 'updated_at'];
/** /**
* 不允许自动填充模型字段 * 不允许自动填充模型字段