Commit 4bd476dd by 陈婉清

Merge branch 'v2.7.2_feat' into 'v2.9.0'

V2.7.2 feat to 2.9.0

See merge request !333
2 parents 6d26d4ee 56b7ce17
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"el-tree-transfer": "^2.2.6", "el-tree-transfer": "^2.2.6",
"element-ui": "^2.4.5", "element-ui": "^2.4.5",
"glsx-common": "^1.4.6", "glsx-common": "^1.4.6",
"glsx-components": "^1.4.8", "glsx-components": "^1.5.1",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"node-sass": "^4.0.0", "node-sass": "^4.0.0",
"vue": "^2.6.10", "vue": "^2.6.10",
......
...@@ -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 {
......
...@@ -79,7 +79,7 @@ export default { ...@@ -79,7 +79,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) {
...@@ -152,11 +152,11 @@ export default { ...@@ -152,11 +152,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!