Commit 187155ec by jml0128

fix

1 parent 74499e6a
......@@ -63,6 +63,7 @@ export default {
title: String,
text: String,
resText: String,
customText: String,
maxLength: {
type: Number,
default: 20
......@@ -125,6 +126,14 @@ export default {
document.execCommand('paste', false, text);
}
});
},
watch: {
customText: {
handler(n) {
this.localText = n;
},
immediate: true
}
}
};
</script>
......
......@@ -432,7 +432,8 @@ export default {
this.Bi.getTopicInfo(),
this.Bi.getGroupInfo(),
this.Bi.getTemplateList()
]).then(
])
.then(
([
baseInfo,
fixedInfo,
......@@ -447,7 +448,10 @@ export default {
this.coverList = tempaletList.data.data || [];
window.status = '1';
}
);
)
.catch(() => {
window.status = '1';
});
}
};
</script>
......
......@@ -473,7 +473,8 @@ export default {
this.Bi.getTopicInfo(),
this.Bi.getGroupInfo(),
this.Bi.getTemplateList()
]).then(
])
.then(
([
baseInfo,
fixedInfo,
......@@ -488,7 +489,10 @@ export default {
this.coverList = tempaletList.data.data || [];
window.status = '1';
}
);
)
.catch(() => {
window.status = '1';
});
}
};
</script>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!