Commit b8391cd8 by 杨明

fixed

1 parent 63e44bf9
......@@ -71,6 +71,7 @@ export default {
},
watch: {
previewList(val) {
console.log(val)
if (val.length && val[0].attType == 1) {
const attContent = val[0].attContent[0]
const htm = attContent.replace(/\[[\u4E00-\u9FA56]{1,4}]/gi, function(res) {
......
......@@ -348,6 +348,7 @@ export default {
} else {
this.previewList.splice(0, 1)
}
this.eventBus.$emit('update', this.previewList)
},
selectActivity(val) {
let idx
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!