微调
This commit is contained in:
@@ -110,7 +110,7 @@
|
||||
<!-- <template #header>-->
|
||||
<!-- <div style="background: #003078 !important; color: #fff !important; font-size: 18px;">检测项进度</div>-->
|
||||
<!-- </template>-->
|
||||
<div ref="scrollContainerRef">
|
||||
<div ref="scrollContainerRef" style="height: 100%; overflow-y: auto;">
|
||||
<p v-for="(item, index) in testLogList"
|
||||
:key="index"
|
||||
:style="{color:item.type==='error'?'#F56C6C': item.type==='warning'?'#e6a23c':'var(--el-text-color-regular)'}">
|
||||
@@ -603,7 +603,6 @@ const updateCheckResult = (data: CheckData.ScriptChnItem) => {
|
||||
const scrollToBottom = () => {
|
||||
if (scrollContainerRef.value) {
|
||||
scrollContainerRef.value.scrollTop = scrollContainerRef.value.scrollHeight;
|
||||
console.log(scrollContainerRef.value.scrollTop)
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user