no message

This commit is contained in:
kuaifan 2025-09-24 20:52:01 +08:00
parent 652dc0953b
commit 7c5a966944
3 changed files with 12 additions and 2 deletions

View File

@ -42,7 +42,7 @@ class UserRecentItem extends AbstractModel
public static function record(int $userid, string $targetType, int $targetId, string $sourceType = '', int $sourceId = 0): self public static function record(int $userid, string $targetType, int $targetId, string $sourceType = '', int $sourceId = 0): self
{ {
return tap(self::updateOrCreate( return self::updateOrCreate(
[ [
'userid' => $userid, 'userid' => $userid,
'target_type' => $targetType, 'target_type' => $targetType,
@ -53,6 +53,6 @@ class UserRecentItem extends AbstractModel
[ [
'browsed_at' => Carbon::now(), 'browsed_at' => Carbon::now(),
] ]
)); );
} }
} }

View File

@ -185,6 +185,10 @@
cursor: grab; cursor: grab;
flex-shrink: 0; flex-shrink: 0;
&:hover {
color: $primary-color;
}
.ivu-icon { .ivu-icon {
font-size: 18px; font-size: 18px;
} }

View File

@ -84,6 +84,12 @@
.ivu-modal-footer { .ivu-modal-footer {
padding: 26px 0 22px !important; padding: 26px 0 22px !important;
} }
.ivu-cascader-menu-item {
max-width: 300px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
} }
body.window-portrait { body.window-portrait {