Commit fec3d206 by 杨明

fixed

1 parent 969d5897
......@@ -512,13 +512,9 @@ export default {
const idx = this.previewList.findIndex(item => item.attType == this.ATT_TYPE.TEXT)
if (idx !== -1) {
if (!this.previewList[idx].attContent) {
html = html
.replace('\n', '')
.replace(/<br\/>/g, '')
.replace(/&amp;/g, '&')
.replace(/&lt;/g, '<')
.replace(/&gt;/g, '>')
html = html.replace('\n', '').replace(/<br\/>/g, '')
}
html = html.replace(/&amp;/g, '&').replace(/&lt;/g, '<').replace(/&gt;/g, '>')
this.$set(this.previewList, 0, {
attContent: (this.previewList[idx].attContent + html).substring(0, 600),
attType: this.ATT_TYPE.TEXT
......
......@@ -117,6 +117,7 @@ export default {
display: inline-block;
/deep/ {
.el-tag {
margin-right: 10px;
height: 26px;
line-height: 26px;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!