Commit b1232fdd by 吴文祥

Merge branch 'wuwx_dev_v2.8.0' into 'v2.8.0'

修复第三轮BUG

See merge request !330
2 parents 2eb57f7a 3444f877
...@@ -454,7 +454,7 @@ export default { ...@@ -454,7 +454,7 @@ export default {
if (previewList.length != 0) { if (previewList.length != 0) {
this.basicForm.attachmentList = previewList this.basicForm.attachmentList = previewList
} }
if (this.basicForm.attachmentList && this.basicForm.attachmentList.length) { if (this.basicForm.attachmentList && this.basicForm.attachmentList.length && this.basicForm.attachmentList[0].attType == 1 && this.basicForm.attachmentList[0].attContent != "") {
if (this.basicForm.attachmentList.length > 9) { if (this.basicForm.attachmentList.length > 9) {
return (this.attachmentText = '附件不可超过9个') return (this.attachmentText = '附件不可超过9个')
} else { } else {
......
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
} else if (index >= 10 && index < 100) { } else if (index >= 10 && index < 100) {
index = '0' + index index = '0' + index
} }
return `<img src="https://img01.glsx.com.cn/weapp/resource/saas/scrm/emoji/${index}.png">` return `<img style="width: 16px;height: 16px;vertical-align: middle;" src="https://img01.glsx.com.cn/weapp/resource/saas/scrm/emoji/${index}.png">`
}) })
item.attContent = htm item.attContent = htm
} else if (item.attType != 2 && item.attType != 3 && item.attType != 7) { } else if (item.attType != 2 && item.attType != 3 && item.attType != 7) {
...@@ -154,11 +154,11 @@ export default { ...@@ -154,11 +154,11 @@ export default {
border-radius: 4px; border-radius: 4px;
word-break: break-all; word-break: break-all;
display: flex; display: flex;
img { // img {
width: 16px; // width: 16px;
height: 16px; // height: 16px;
vertical-align: middle; // vertical-align: middle;
} // }
} }
.text { .text {
display: inline-block; display: inline-block;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!