Commit be344ebc by wuwx

修复新建群发助手侧边栏显示问题

1 parent f1ada9ae
......@@ -454,7 +454,7 @@ export default {
if (previewList.length != 0) {
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) {
return (this.attachmentText = '附件不可超过9个')
} else {
......
......@@ -79,7 +79,7 @@ export default {
} else if (index >= 10 && index < 100) {
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
} else if (item.attType != 2 && item.attType != 3 && item.attType != 7) {
......@@ -152,11 +152,11 @@ export default {
border-radius: 4px;
word-break: break-all;
display: flex;
img {
width: 16px;
height: 16px;
vertical-align: middle;
}
// img {
// width: 16px;
// height: 16px;
// vertical-align: middle;
// }
}
.text {
display: inline-block;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!