no message

This commit is contained in:
kuaifan 2024-03-19 15:57:24 +09:00
parent 99dca06d44
commit c75f406459
4 changed files with 24 additions and 8 deletions

View File

@ -20,3 +20,8 @@ office/7.5.1-23/web-apps/apps/documenteditor/main/resources/css/app.css
office/7.5.1-23/web-apps/apps/documenteditor/main/app.js
office/7.5.1-23/sdkjs/word/sdk-all-min.js
office/7.5.1-23/sdkjs/word/sdk-all.js
drawio/webapp/js/app.min.js
drawio/webapp/js/stencils.min.js
drawio/webapp/js/extensions.min.js
drawio/webapp/js/shapes-14-6-5.min.js
drawio/webapp/math/es5/output/svg/fonts/tex.js

View File

@ -180,7 +180,7 @@
<i class="taskfont" v-html="operateItem.silence ? '&#xe7eb;' : '&#xe7d7;'"></i>
</div>
</DropdownItem>
<DropdownItem @click.native="handleHideClick" :disabled="operateItem.top_at">
<DropdownItem @click.native="handleHideClick" :disabled="!!operateItem.top_at">
<div class="item">
{{ $L('不显示该会话') }}
<i class="taskfont">&#xe881;</i>

View File

@ -63,7 +63,11 @@ export function isMarkdownFormat(html) {
return false
}
//
const text = html.replace(/<[^>]+?>/g, '')
let el = document.createElement('div')
el.innerHTML = html
const text = el.innerText
el = null
//
if (
/(^|\s+)#+\s(.*)$/m.test(text) // 标题
|| /\*\*(.*)\*\*/m.test(text) // 粗体

View File

@ -941,19 +941,20 @@
.file-percentage {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
left: 2px;
right: 2px;
bottom: 2px;
height: 2px;
border-radius: 3px;
overflow: hidden;
> span {
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
width: 0;
background-color: rgba(170, 170, 170, 0.2);
background-color: $flow-status-end-color;
}
}
@ -2074,6 +2075,12 @@ body:not(.window-touch) {
display: grid;
justify-content: space-between;
grid-template-columns: repeat(auto-fill, 60px);
&.cancel {
display: flex;
align-items: center;
justify-content: center;
width: auto;
}
> li {
list-style: none;
width: 60px;