Commit 187155ec by jml0128

fix

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