mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-14 04:32:49 +00:00
no message
This commit is contained in:
parent
1ea764c860
commit
fe4ab6e9d5
@ -747,8 +747,7 @@ class UsersController extends AbstractController
|
|||||||
$builder->whereNull('disable_at');
|
$builder->whereNull('disable_at');
|
||||||
$builder->where('bot', 0);
|
$builder->where('bot', 0);
|
||||||
}
|
}
|
||||||
$builder = $keys['department'] == '0' ? $builder->orderByDesc('userid') : $builder;
|
$list = $builder->orderByDesc('userid')->paginate(Base::getPaginate(50, 20));
|
||||||
$list = $builder->paginate(Base::getPaginate(50, 20));
|
|
||||||
//
|
//
|
||||||
if ($getCheckinMac) {
|
if ($getCheckinMac) {
|
||||||
$list->transform(function (User $user) use ($getCheckinMac) {
|
$list->transform(function (User $user) use ($getCheckinMac) {
|
||||||
|
|||||||
@ -32,7 +32,10 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
html() {
|
html({text}) {
|
||||||
|
if (text === '...') {
|
||||||
|
return '<p class="input-blink"> </p>'
|
||||||
|
}
|
||||||
if (this.mdi === null) {
|
if (this.mdi === null) {
|
||||||
const {highlightBlock} = this
|
const {highlightBlock} = this
|
||||||
this.mdi = new MarkdownIt({
|
this.mdi = new MarkdownIt({
|
||||||
@ -49,7 +52,7 @@ export default {
|
|||||||
this.mdi.use(mila, {attrs: {target: '_blank', rel: 'noopener'}})
|
this.mdi.use(mila, {attrs: {target: '_blank', rel: 'noopener'}})
|
||||||
this.mdi.use(mdKatex, {blockClass: 'katexmath-block rounded-md p-[10px]', errorColor: ' #cc0000'})
|
this.mdi.use(mdKatex, {blockClass: 'katexmath-block rounded-md p-[10px]', errorColor: ' #cc0000'})
|
||||||
}
|
}
|
||||||
return this.formatMsg(this.mdi.render(this.text))
|
return this.formatMsg(this.mdi.render(text))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@ -128,6 +128,12 @@
|
|||||||
min-width: calc(100% - 170px);
|
min-width: calc(100% - 170px);
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
||||||
|
|
||||||
|
&.ql-bubble:not(.ql-disabled) {
|
||||||
|
a {
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.ql-editor {
|
.ql-editor {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
|
|||||||
@ -72,6 +72,11 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.input-blink {
|
||||||
|
width: 3px;
|
||||||
|
animation: blink-animate 1.2s infinite steps(1,start);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.self {
|
.self {
|
||||||
@ -79,4 +84,14 @@ body {
|
|||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes blink-animate {
|
||||||
|
0%,to {
|
||||||
|
background-color: currentColor
|
||||||
|
}
|
||||||
|
|
||||||
|
50% {
|
||||||
|
background-color: transparent
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user