diff --git a/src/views/home/home.vue b/src/views/home/home.vue index 2f55ca9..b464221 100644 --- a/src/views/home/home.vue +++ b/src/views/home/home.vue @@ -31,7 +31,7 @@
- +
- +
-->
@@ -165,9 +169,13 @@ export default { watch: { formData: { handler: function() { - if (this.type == 'policy') { + if (this.type == 'policy' || this.type == 'policyRead') { this.$nextTick(() => { - this.formatRichText(this.formData.downloadUrl, this.formData.id); + this.formatRichText( + this.formData.downloadUrl, + this.formData.id, + this.formData.url + ); }); } else { this.formData.text = this.formData.text.replaceAll(' ', ' '); @@ -263,7 +271,8 @@ export default { /deep/.editor { border: 0; } - /deep/p { + /deep/p, + /deep/#zoom { img { max-width: 100%; }