mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 12:02:51 +00:00
no message
This commit is contained in:
parent
652dc0953b
commit
7c5a966944
@ -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(),
|
||||||
]
|
]
|
||||||
));
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user