mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-06 17:36:48 +08:00
refactor(track): 优化知识信息页面布局
- 根据知识名称是否包含 ".pdf" 条件性地调整左侧栏的跨度 - 右侧栏(原文内容)的显示现在也依赖于知识名称是否包含 ".pdf"
This commit is contained in:
@@ -165,7 +165,7 @@ export default {
|
||||
<div class="card-body">
|
||||
<el-row :gutter="20">
|
||||
<!-- 左侧:表单内容和知识内容 -->
|
||||
<el-col :span="12">
|
||||
<el-col :span="newForm.knowledgeName.indexOf('.pdf') >= 0 ? 12 : 24">
|
||||
<!-- 知识内容 -->
|
||||
<div class="content-card el-card mt20">
|
||||
<div class="knowledge-content" v-if="descriptions">
|
||||
@@ -196,7 +196,7 @@ export default {
|
||||
</el-col>
|
||||
|
||||
<!-- 右侧:原文内容 -->
|
||||
<el-col :span="12">
|
||||
<el-col :span="12" v-if="newForm.knowledgeName.indexOf('.pdf') >= 0">
|
||||
<div class="content-card el-card full-height mt20">
|
||||
<!-- <metadata-operator-->
|
||||
<!-- @openMetaDrawer="openMetaDrawer"-->
|
||||
|
||||
Reference in New Issue
Block a user