feat: 优化文章详情页面pdf预览功能
This commit is contained in:
@@ -27,8 +27,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24" style="margin-left: 10px">
|
<el-col :span="24" style="margin-left: 10px">
|
||||||
<el-form-item label="文章内容" prop="articleContent">
|
<el-form-item label="文章内容" prop="articleContent">
|
||||||
<!-- axupimgs-->
|
<Tinymce v-model:value="formData.articleContent" imageUrl="/workflow/process/file/upload" :height="500" v-if="showTinymce" :toolbar="['undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image axupimgs']" />
|
||||||
<Tinymce v-model:value="formData.articleContent" imageUrl="/workflow/process/file/upload" :height="500" v-if="showTinymce" :toolbar="['undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image ']" />
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ const download = (row) => {
|
|||||||
a.href = url;
|
a.href = url;
|
||||||
a.download = row.fileName;
|
a.download = row.fileName;
|
||||||
a.click();
|
a.click();
|
||||||
|
window.open(row.url,'_blank')
|
||||||
};
|
};
|
||||||
x.send();
|
x.send();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user