Compare commits
2 Commits
a740904660
...
665484d30c
Author | SHA1 | Date |
---|---|---|
wuhongjian | 665484d30c | |
wuhongjian | 027409b123 |
|
@ -912,6 +912,10 @@
|
||||||
background: url('~@/assets/home/rhfw_square.png') no-repeat;
|
background: url('~@/assets/home/rhfw_square.png') no-repeat;
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
}
|
}
|
||||||
|
.jcss {
|
||||||
|
background: url('~@/assets/home/sxt_square.png') no-repeat;
|
||||||
|
background-size: 100%;
|
||||||
|
}
|
||||||
.header {
|
.header {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* @Author: hisense.wuhongjian
|
* @Author: hisense.wuhongjian
|
||||||
* @Date: 2022-04-19 17:18:48
|
* @Date: 2022-04-19 17:18:48
|
||||||
* @LastEditors: hisense.wuhongjian
|
* @LastEditors: hisense.wuhongjian
|
||||||
* @LastEditTime: 2022-07-16 15:01:48
|
* @LastEditTime: 2022-07-18 16:40:21
|
||||||
* @Description: markdown编辑器
|
* @Description: markdown编辑器
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
|
@ -95,12 +95,12 @@
|
||||||
if (this.uuidSnum === '') {
|
if (this.uuidSnum === '') {
|
||||||
this.uuidSplice()
|
this.uuidSplice()
|
||||||
}
|
}
|
||||||
let myfile = new File([blob], this.uuidSnum)
|
let myfile = new File([blob], this.uuidSnum + '.md')
|
||||||
var formData = new FormData()
|
var formData = new FormData()
|
||||||
const type = pinyin(this.dataFrom.type, {
|
const type = pinyin(this.dataFrom.type, {
|
||||||
pattern: 'initial',
|
pattern: 'initial',
|
||||||
}).replace(/\s*/g, '')
|
}).replace(/\s*/g, '')
|
||||||
formData.append('fileName', this.uuidSnum)
|
formData.append('fileName', this.uuidSnum + '.md')
|
||||||
formData.append('type', type)
|
formData.append('type', type)
|
||||||
formData.append('file', myfile) // 'file' 为HTTP Post里的字段名, file 对浏览器里的File对象
|
formData.append('file', myfile) // 'file' 为HTTP Post里的字段名, file 对浏览器里的File对象
|
||||||
// formData.append('name', this.route.currentRoute.query.id + '.md')
|
// formData.append('name', this.route.currentRoute.query.id + '.md')
|
||||||
|
|
Loading…
Reference in New Issue