邀请列表接口接入
This commit is contained in:
@@ -7,30 +7,20 @@
|
||||
<span>重要性</span>
|
||||
<d-tag type="danger" size="sm">{{warningData.importance}}</d-tag>
|
||||
</div>
|
||||
<div>
|
||||
<div v-if="propsData.type === 'system'">
|
||||
<d-button v-show="mode === 'readonly'" class="edit-btn" icon="icon-edit" variant="text" title="编辑" @click="handleModeChange"/>
|
||||
<d-button v-show="mode === 'editonly'" class="edit-btn" @click="handleModeChange">预览</d-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="warning-text">
|
||||
<!-- <div class="text-box mb-5">
|
||||
<div>一、概要</div>
|
||||
<p> {{ warningData.summary }}</p>
|
||||
<d-textarea v-model="warningData.summary" id="textArea" autosize></d-textarea>
|
||||
</div>
|
||||
<div class="text-box">
|
||||
<div>二、修复方案</div>
|
||||
<p> {{ warningData.fixMethod }}</p>
|
||||
<d-textarea v-model="warningData.fixMethod" id="textArea2"></d-textarea>
|
||||
</div> -->
|
||||
<d-editor-md
|
||||
v-model="warningData.text"
|
||||
:mode="mode"
|
||||
:toolbar-config="toolbarConfig"
|
||||
></d-editor-md>
|
||||
</div>
|
||||
<div :style="{'border-radius': propsData.type === 'user' ? '6px' : 0}" class="warning-from">可信开源代码库运营团队 {{ warningData.fromTime }}</div>
|
||||
<div :style="{'border-radius': propsData.type === 'user' ? '6px' : 0}" class="warning-from">{{warningData.group}} {{ warningData.pulishTime }}</div>
|
||||
<div v-if="propsData.type === 'system'" class="warning-operation">
|
||||
<d-button @click="confirm" variant="solid" class="mr-2">确定</d-button>
|
||||
<d-button @click="$emit('close')">取消</d-button>
|
||||
@@ -48,7 +38,8 @@ const warningData = ref({
|
||||
importance: '高',
|
||||
summary: '近日,安全中心发现Apache lgnite远程代码执行漏洞(CVE-2024-52577)。在 2.6.0<Apache Ignite< 2.17.0版本中,由于lgnite未能正确实施类序列化过滤器,攻击者能够利用恶意序列化对象绕过安全检查,从而在服务器端反序列化时触发任意代码的执行。经可信开源代码库运营团队评审漏洞技术定级2级/3级,若不满足利用条件可举证降为6级。请你按要求在XX时间内完成修复。',
|
||||
fixMethod: '升级Apache Ignite至安全版本:2.17.0',
|
||||
fromTime: '2025-2-20',
|
||||
group: '可信开源代码库运营团队',
|
||||
pulishTime: '2025-2-20',
|
||||
text: `## 一、概要
|
||||
近日,安全中心发现Apache lgnite远程代码执行漏洞(CVE-2024-52577)。在 2.6.0<Apache Ignite< 2.17.0版本中,由于lgnite未能正确实施类序列化过滤器,攻击者能够利用恶意序列化对象绕过安全检查,从而在服务器端反序列化时触发任意代码的执行。经可信开源代码库运营团队评审漏洞技术定级2级/3级,若不满足利用条件可举证降为6级。请你按要求在XX时间内完成修复。
|
||||
## 二、修复方案
|
||||
@@ -83,7 +74,7 @@ const handleModeChange = () => {
|
||||
font-weight: 600;
|
||||
font-size: 20px;
|
||||
line-height: 28px;
|
||||
padding: 4px 20px 12px;
|
||||
padding: 20px 20px 12px;
|
||||
|
||||
.sub-title {
|
||||
display: flex;
|
||||
@@ -102,7 +93,15 @@ const handleModeChange = () => {
|
||||
background: #F6F6F8;
|
||||
color: initial;
|
||||
|
||||
::v-deep .dp-md-view {
|
||||
:deep .dp-md-readonly {
|
||||
.dp-md-toolbar-container {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
:deep .dp-md-view {
|
||||
background-color: #F6F6F8;
|
||||
|
||||
h2 {
|
||||
font-size: 1.5em;
|
||||
font-weight: bold;
|
||||
|
||||
Reference in New Issue
Block a user