Commit 6e40f123 by 前端

二轮bug修复

1 parent 78b2e1e8
......@@ -256,7 +256,7 @@ export default {
this.validateForm().then(() => {
const {describeId,pageTheme,ruleDescribe,...params} = this.configForm
// 页面主题判断
if (!params.theme1 || !params.theme2) return this.$message.error('请填写页面主题');
if (!params.theme1) return this.$message.error('请填写页面主题');
// 判断富文本编辑器是不是只有空格(不改变ruleDescribe的值)
const plainTextCheck = ruleDescribe.replace(/&nbsp;|<[^>]+>/g, ' ').replace(/\s+/g, ' ');
if (plainTextCheck.trim() === '') {
......
......@@ -17,7 +17,7 @@
<el-col v-for="(item, index) in section.items" :key="index" :span="12">
<div class="info-field">
<span class="label">{{ item.label }}:</span>
<span class="value">{{ item.value }}</span>
<span class="value" :title="item.value">{{ item.value }}</span>
</div>
</el-col>
</el-row>
......@@ -95,11 +95,15 @@ export default {
font-size: 14px;
padding: 10px 40px;
border-radius: 4px;
display: flex;
.label {
color: #666666;
}
.value {
//margin-left: 8px;
width: 170px;
white-space: nowrap; /* 防止内容换行 */
overflow: hidden;
text-overflow: ellipsis;
}
}
</style>
......@@ -15,7 +15,7 @@
<el-col v-for="(item, index) in section.items" :key="index" :span="12">
<div class="info-field">
<span class="label">{{ item.label }}:</span>
<span class="value">{{ item.value }}</span>
<span class="value" :title="item.value">{{ item.value }}</span>
</div>
</el-col>
</el-row>
......@@ -122,11 +122,15 @@ export default {
font-size: 14px;
padding: 10px 40px;
border-radius: 4px;
display: flex;
.label {
color: #666666;
}
.value {
//margin-left: 8px;
width: 170px;
white-space: nowrap; /* 防止内容换行 */
overflow: hidden;
text-overflow: ellipsis;
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!