fix: BUG修改
This commit is contained in:
parent
c9485cf41b
commit
e3dcb853c1
@ -7,7 +7,7 @@
|
||||
<span :class="activeTab == 2 ? 'active-span' : ''" @click="changeActive(2)">施工要点</span>
|
||||
</div>
|
||||
<div class="text-content">
|
||||
{{ activeTab == 0?props.dataObj.dangerPointIdentification:activeTab == 1?props.dataObj.riskControlMeasure:activeTab == 2?props.dataObj.constructionKeyPoint:'' }}
|
||||
<div v-html="activeTab == 0?props.dataObj.dangerPointIdentification:activeTab == 1?props.dataObj.riskControlMeasure:activeTab == 2?props.dataObj.constructionKeyPoint:''"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -61,13 +61,16 @@ onMounted(async () => {
|
||||
}
|
||||
}
|
||||
.text-content{
|
||||
color: #fff;
|
||||
height: 500px;
|
||||
overflow-y: scroll;
|
||||
text-indent: 2em;
|
||||
margin-top: 20px;
|
||||
line-height: 25px;
|
||||
letter-spacing: 0.3em;
|
||||
div{
|
||||
font-size: 16px;
|
||||
color: #fff;
|
||||
height: 500px;
|
||||
overflow-y: scroll;
|
||||
text-indent: 2em;
|
||||
margin-top: 20px;
|
||||
line-height: 25px;
|
||||
letter-spacing: 0.3em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user