Commit 444c29f2 by 怪兽?别跑

update

1 parent 7be25dbd
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
placeholder="请输入" placeholder="请输入"
:autosize="{ minRows: 5, maxRows: 20 }" :autosize="{ minRows: 5, maxRows: 20 }"
clearable clearable
:autofocus="false" :autofocus="true"
@input="changeInfo"
/> />
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
...@@ -294,12 +295,6 @@ ...@@ -294,12 +295,6 @@
} }
}, },
watch: { watch: {
talkForm: {
handler(val) {
this.changeInfo(val.templateInfo)
},
deep: true
},
maxlengthTwo: { maxlengthTwo: {
handler(val) { handler(val) {
this.maxlength = val this.maxlength = val
...@@ -351,6 +346,7 @@ ...@@ -351,6 +346,7 @@
let arr = [] let arr = []
this.talkList.forEach((item) => { this.talkList.forEach((item) => {
let attachments = {} let attachments = {}
attachments.materialId = item.id
switch (item.mediaType) { switch (item.mediaType) {
case '0': case '0':
// 图片 // 图片
...@@ -744,7 +740,7 @@ ...@@ -744,7 +740,7 @@
this.talkList.forEach((item) => { this.talkList.forEach((item) => {
let attachmentFrom = {} let attachmentFrom = {}
attachmentFrom.msgType = item.mediaType attachmentFrom.msgType = item.mediaType
attachmentFrom.mediaId = item.id attachmentFrom.materialId = item.id
if (item.mediaType != '0') { if (item.mediaType != '0') {
attachmentFrom.title = item.materialName attachmentFrom.title = item.materialName
} }
...@@ -852,12 +848,12 @@ ...@@ -852,12 +848,12 @@
::v-deep .el-button.is-disabled { ::v-deep .el-button.is-disabled {
color: var(--font-white, #fff); color: var(--font-white, #fff);
background-color: var(--bg-black-8); background-color: var(--bg-black-8);
border-color: #cccccc; border-color: var(--border-black-8);
} }
::v-deep.el-dropdown [disabled] { ::v-deep.el-dropdown [disabled] {
color: var(--font-white, #fff); color: var(--font-white, #fff);
background-color: var(--bg-black-8); background-color: var(--bg-black-8);
border-color: #cccccc; border-color: var(--border-black-8);
} }
.footer { .footer {
display: flex; display: flex;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!