Commit 64065a9a by ext.wangyuman1

朋友圈模块

1 parent 1c3b43c2
...@@ -418,8 +418,8 @@ export default { ...@@ -418,8 +418,8 @@ export default {
}, },
watch: { watch: {
baseData(val) { baseData(val) {
if (val.templateInfo) { if (val.templateInfo || val.attachments) {
this.form.templateInfo = val.templateInfo this.form.templateInfo = val.templateInfo ? val.templateInfo : ''
this.form.attachments = val.attachments this.form.attachments = val.attachments
// this.$forceUpdate() // this.$forceUpdate()
if (this.otherType === 3 && this.detail) { if (this.otherType === 3 && this.detail) {
...@@ -891,7 +891,7 @@ export default { ...@@ -891,7 +891,7 @@ export default {
if (this.templateType != 1 && this.moduleType != 4) { if (this.templateType != 1 && this.moduleType != 4) {
this.getTree() this.getTree()
} }
if (this.baseData.templateInfo) { if (this.form.templateInfo) {
// this.form.templateInfo = this.baseData.templateInfo // this.form.templateInfo = this.baseData.templateInfo
this.talkForm = this.baseData this.talkForm = this.baseData
this.talkList = this.baseData.attachments this.talkList = this.baseData.attachments
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!