Merge pull request 'fix : 修复tinymce的多图片上传插件/文章详情附件下载' (#895) from dj into master
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/895
This commit is contained in:
@@ -27,7 +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">
|
||||||
<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>
|
||||||
|
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ const loading = ref(false)
|
|||||||
const formData = ref({})
|
const formData = ref({})
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
const clickHandle = (e) => {
|
const clickHandle = (e) => {
|
||||||
e.preventDefault()
|
|
||||||
if (e.target.nodeName == "A") {
|
if (e.target.nodeName == "A") {
|
||||||
|
e.preventDefault()
|
||||||
let url = e.target.href.split('?')[0];
|
let url = e.target.href.split('?')[0];
|
||||||
const searchParams = new URLSearchParams(e.target.href.split('?')[1])
|
const searchParams = new URLSearchParams(e.target.href.split('?')[1])
|
||||||
const fileId = searchParams.get('fileId');
|
const fileId = searchParams.get('fileId');
|
||||||
|
|||||||
Reference in New Issue
Block a user